Coder Social home page Coder Social logo

tieske / homie45 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 27 KB

Homie bridge for Homie 4 devices to Homie 5

Home Page: https://tieske.github.io/homie45/topics/01-introduction.md.html

License: MIT License

Lua 66.24% Makefile 10.55% CSS 18.56% Dockerfile 2.86% Shell 1.78%
home-automation homie

homie45's Introduction

homie45's People

Contributors

tieske avatar

Watchers

 avatar  avatar

homie45's Issues

Works only partially

Hi Thijs, thanks for providing the script!
I does only work partially for me. Most devices are created under homie5 however many of the are missing the $description and $state topic. Also for many some properties seem to be randomly missing (in the topic structure - they are included in the $description json). Also forwarding set messages are not forwarded at all for none of the 10 devices I tested it with.

I do get a lot of warnings and errors from the script:

Warnings
(I guess these are epected as I am using the "eu.epnw.meta:1.1.0:4.0" extension to which these topics belong to)

Sun Jan 15 11:15:53 2023 WARN [homie45] 'homie/sensor-37' don't know how to handle topic 'homie/sensor-37/$meta/hc-controller/model-id/$value'
Sun Jan 15 11:15:53 2023 WARN [homie45] 'homie/sensor-4' don't know how to handle topic 'homie/sensor-4/$meta/hc-controller/device-fw/$key'
Sun Jan 15 11:15:53 2023 WARN [homie45] 'homie/sensor-4' don't know how to handle topic 'homie/sensor-4/$meta/hc-controller/device-fw/$value'
Sun Jan 15 11:15:53 2023 WARN [homie45] 'homie/sensor-4' don't know how to handle topic 'homie/sensor-4/$meta/hc-controller/device-mac/$key'
Sun Jan 15 11:15:53 2023 WARN [homie45] 'homie/sensor-4' don't know how to handle topic 'homie/sensor-4/$meta/hc-controller/device-mac/$value'

Errors (at the end of the output):

Sun Jan 15 11:16:28 2023 ERROR client 'homie45-bridge-123' failed to send PUBLISH: connector.send failed: failed acquiring send_lock: timeout
Sun Jan 15 11:16:28 2023 ERROR client 'homie45-bridge-123' failed to send PUBLISH: connector.send failed: failed acquiring send_lock: timeout
Sun Jan 15 11:16:28 2023 ERROR client 'homie45-bridge-123' failed to send PUBLISH: connector.send failed: failed acquiring send_lock: timeout

I am using vernemq for which the parameters should be tuned up enough for the corresponding settings you took for the eclipse mqtt.

DOCKER_VERNEMQ_MAX_INFLIGHT_MESSAGES=15000
DOCKER_VERNEMQ_MAX_OFFLINE_MESSAGES=100000
DOCKER_VERNEMQ_MAX_ONLINE_MESSAGES=100000

I do have a huge number of devices (homie4 shows about 12000 topics for all the devices).

also during the docker build I am getting several strange errors (build however finishes):

Step 6/17 : RUN luarocks install Tieske/luamqtt --dev
 ---> Running in dcbeb27dd5f1
Warning: Failed searching manifest: Failed downloading https://luarocks.org/dev/manifests/tieske/manifest-5.1 - HTTP/1.1 404 Not Found
Warning: Failed searching manifest: Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/dev/manifests/tieske/manifest-5.1 - HTTP/1.1 404 Not Found
Warning: Failed searching manifest: Failed downloading https://luafr.org/luarocks/dev/manifests/tieske/manifest-5.1 - HTTP/1.1 404 Not Found
Installing https://luarocks.org/manifests/tieske/luamqtt-scm-1.rockspec
Cloning into 'luamqtt'...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.