@monte said in Best choise for a controller:
@neverdie but isn't Docker more efficient and simple solution compared to a VM? Considering it will be used for single process anyway.
Yes, I think you're right.
I have a similar project: For my fathers boat, I want to use a Nextion as a central informations display. I will use a asr6501 as self containing gateway/controller, so maybe we can exchange experiences.
@hek thanks! It took us way more than expected to re-architect all the thing but now that is ready, happy with the result so your positive feedback is appreciated Legacy myHouse issue was mainly around extensibility hence this distributed, plugin-based architecture allowing users to package functionalities and/or contents without me doing any change in the core code. And turning it in a cloud-based service (as an option) could be also really easy. But for now the hope is to build a little community around it so to make it evolve further. Just as a starting point
Bug in MYScontroller.
When I edit the file firmware_config.csv and set a version number with a decimal the output in the debug is wrong.
This is my file:
Note that I have 2.1 as the version in 40, Sovrummet.
But when I load the repo in MYSController v is 65535:
2021-02-13 17:06:37 REPO FW "Blink" loaded. t=10, v=1, blocks=80, crc=0x46D4
2021-02-13 17:06:37 REPO FW "Tvattstugan-2" loaded. t=20, v=3, blocks=1488, crc=0x6D13
2021-02-13 17:06:37 REPO FW "Tvattstugan" loaded. t=30, v=2, blocks=960, crc=0xBB4F
2021-02-13 17:06:37 REPO FW "Sovrummet" loaded. t=40, v=65535, blocks=936, crc=0x6AB3
2021-02-13 17:06:37 REPO FW repository loaded. Items=4
And in the GUI the version is also 65535.
Actually there are two bugs.
If I add (sloppy I know) more empty lines at the end in the firmware_config.csv file I get this in the debug:
2021-02-13 17:13:35 REPO FW "Blink" loaded. t=10, v=1, blocks=80, crc=0x46D4
2021-02-13 17:13:35 REPO FW "Tvattstugan-2" loaded. t=20, v=3, blocks=1488, crc=0x6D13
2021-02-13 17:13:35 REPO FW "Tvattstugan" loaded. t=30, v=2, blocks=960, crc=0xBB4F
2021-02-13 17:13:35 REPO FW "Sovrummet" loaded. t=40, v=65535, blocks=936, crc=0x6AB3
2021-02-13 17:13:35 ERROR 2107-15-31 is not a valid date specification
Other than that, great piece of software. Thanks.
I have been using OpenHAB and MQTT for a number of years now.
The reason for using MQTT and not just a serial connection from the MySensors GW is partly the flexibility as many have stated previously here. Easy to test, using e.g. the mqtt.fx tool. If you want to know what is going on you simply connect to the MQTT stream and "snoop" on the messages.
Another reason is that I am running three geographical sites on one OH installation. OH is running on a NUC at my home. There is also an MQTT GW here. Two other My Sensors MQTT-GW are running remotely in two summer houses. The three GW connect over internet to a cloud-based MQTT broker and OH connects to the same broker. In that way I do not have to open any ports into my home network for access should I have had a local MQTT-broker at home.