i recently switched from polling values from several Raspberry Venus OS (3.65) MQTT communication to OS large NodeRed and the builtin victron nodes just to notice that after Raspberry reboot or switching connectivity from VeDirect to CanBus or VeBus, the id of devices is changing, bringing down most of the victron node-red flows. Is there a way to dynamically pass the proper device IDs to the various victron NodeRed nodes ?
(with MQTT method, i first queried the Venus systems for a list of their devices, and then formatted the MQTT keepalive publishings and subscriptions accordingly … quite a task to program, but that method circumvented the the ID change ‘dance’).
thanks a lot - inputs more than welcome !
(and: yes, i also had a time when using modbus-tcp register queries, but those turned out to be quite unreliable and device ID handling was even more cumbersome …)