Homie bridge for Homie 4 devices to Homie 5
See LICENSE.md
See CHANGELOG.md
Homie bridge for Homie 4 devices to Homie 5
Home Page: https://tieske.github.io/homie45/topics/01-introduction.md.html
License: MIT License
Homie bridge for Homie 4 devices to Homie 5
See LICENSE.md
See CHANGELOG.md
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'...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.