Search found 5427 matches

by waltervl
Monday 14 July 2025 16:57
Forum: MQTT Auto Discovery
Topic: Using MQTT for comm between Domoticz instances
Replies: 45
Views: 4701

Re: Using MQTT for comm between Domoticz instances

I understand for test purposes but for syncing production data you normally use 1 MQTT server in your network to connect to.

For communication between Domoticz instances in your network it is even easier is to use the out-of-the-box device sharing without MQTT.... ;-)
by waltervl
Monday 14 July 2025 16:32
Forum: MQTT Auto Discovery
Topic: Using MQTT for comm between Domoticz instances
Replies: 45
Views: 4701

Re: Using MQTT for comm between Domoticz instances

Having 2 mqtt servers in your network seems a little bit strange... Better have them to write to different topics (like the examples you have given domoticz-master/out and domoticz-slave/out)
by waltervl
Monday 14 July 2025 16:07
Forum: News & Updates
Topic: Domoticz upcoming beta/release and OpenSSL 3.0
Replies: 55
Views: 13780

Re: Domoticz upcoming beta/release and OpenSSL 3.0

Best is to update your system to latest OS....
by waltervl
Monday 14 July 2025 11:38
Forum: MQTT Auto Discovery
Topic: Using MQTT for comm between Domoticz instances
Replies: 45
Views: 4701

Re: Using MQTT for comm between Domoticz instances

Just a thought: when both master and slave have a "MQTT Client Gateway with LAN interface" the both are sending their device values to MQTT Topic Domoticz/out and listening to in. As both environments have different devices they have different device IDs. In the MQTT message there is no indication ...
by waltervl
Monday 14 July 2025 0:21
Forum: MQTT Auto Discovery
Topic: WUD - What's up docker
Replies: 12
Views: 595

Re: WUD - What's up docker

If you use the default settings of WUD, zigbee and zwave you will see you get a zwave, zigbee and wud state topics and homeassistant topic where all the config topics are. This will not have issues if you have only 1 Domoticz MQTT AD gateway. All the devices will be handled by this gateway. If you ...
by waltervl
Sunday 13 July 2025 18:37
Forum: MQTT Auto Discovery
Topic: WUD - What's up docker
Replies: 12
Views: 595

Re: WUD - What's up docker

The discovery topic is by default split from the state topic to ease the system in discovering devices. Else every new message in the integration also has to be checked for config changes. And when you have a lot of devices you will get a lot of unnecessary possible config changes that needs to be ...
by waltervl
Sunday 13 July 2025 10:53
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2334

Re: Marstek Battery plugin

What is the Watt value in MQTT in this case? Also minus? Perhaps you have to change the Domoticz kWh device to generating?
by waltervl
Sunday 13 July 2025 10:26
Forum: MQTT Auto Discovery
Topic: WUD - What's up docker
Replies: 12
Views: 595

Re: WUD - What's up docker

Yes, and that seems correct. i see 3 binary sensors in config and 4 sensors. So in Domoticz creates 3 switches and 4 custom sensors. So exactly what WUD configured. It also should be enough to manage the system I suppose. But perhaps in topic WUD/update also config topics are present? It is (or was ...
by waltervl
Sunday 13 July 2025 0:49
Forum: MQTT Auto Discovery
Topic: WUD - What's up docker
Replies: 12
Views: 595

Re: WUD - What's up docker

So what was wrong with the HA Discovery option? From the documentation it just should work.
by waltervl
Saturday 12 July 2025 21:19
Forum: Python
Topic: Python domoticz package not found?
Replies: 1
Views: 93

Re: Python domoticz package not found?

The Domoticz module published by Domoticz and not a real python module. So nothing to do about this. You cannot run a plugin seperate from Domoticz because of this.

But it looks like python 3.13 is not supported yet by Domoticz. So perhaps uninstall python and install version 3.12
by waltervl
Saturday 12 July 2025 18:11
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2334

Re: Marstek Battery plugin

It works for me. Normal log from Domoticz (no debug or something) 2025-07-12 18:07:59.193 MQTTmapper: onMQTTPublish found Marstek, Device 'MQTTmapper - Marstek_SOC', message '{'params': {'dir': 'up', 'id': 'xxxxxxxxxx', 'r_data': [{'name': 'batteryvoltage', 'value': '5426', 'err': '0'}, {'name ...
by waltervl
Saturday 12 July 2025 14:28
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2334

Re: Marstek Battery plugin

First parameter in the payload array so should be 1 instead of 0. FlyingDomotic uses the human way of counting, starting with 1 instead of the computer way, starting with 0.
So
"item": "params/r_data/1/value"
by waltervl
Saturday 12 July 2025 11:58
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2334

Re: Marstek Battery plugin

FlyingDomotic wrote: Saturday 12 July 2025 9:37
FlyingDomotic wrote: Saturday 12 July 2025 1:00 I'll provide a new README.md file with a full English version, followed by a full French version, in the same document BUT continuous for each language.
Done, new README.md contains now English version followed by French one!
Thanks!
by waltervl
Saturday 12 July 2025 0:41
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2334

Re: Marstek Battery plugin

I should apologize... Getting back to my code, I discovered it was already able to extract a numbered item from a list for ... a while. Here's an extract of README.md: In certain cases, payload contains lists (represented by [] delimiters). In this case, you have to specify either list index to use ...
by waltervl
Friday 11 July 2025 23:09
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2334

Re: Marstek Battery plugin

I agree with @waltervl, even if syntax is correct, this is definitively not a standard JOSN file, where you normally should have all items at the same level. In your case, what you have to explain to MqttMapper is: please scan all list items, find those having "name"=xxx, find item "value" and use ...
by waltervl
Friday 11 July 2025 19:47
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2334

Re: Marstek Battery plugin

I do not agree, the JSON that the device is creating is not following normal JSON conventions. It can also be handled by the MQTTmapper but only after serious code changes. And doing it the way you did is definitely not future proof. One single change in format will force to do all other kind of ...
by waltervl
Friday 11 July 2025 16:54
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2334

Re: Marstek Battery plugin

If you cannot have the DR134 send a proper mqtt payload then you could take the route FlyingDomoticz explained earlier: - With MQTT mapper map the complete message to a text device to store the complete payload in that text device - With a dzvents script triggered on a change in the text device read ...
by waltervl
Thursday 10 July 2025 16:26
Forum: Python
Topic: Python Plugin: MqttMapper
Replies: 367
Views: 44175

Re: Python Plugin: MqttMapper

@FlyingDomotic your help requested in this topic please viewtopic.php?p=327147#p327147
Error MQTT mapper: Duplicate xxxxxx node/key
by waltervl
Thursday 10 July 2025 14:47
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2334

Re: Marstek Battery plugin

From the manual Transparent transmission : The data received by the serial port is transparently transmitted to the associated topic. Topic distribution: When configuring a topic, you can define an identifier for the topic. After receiving serial port data, the device sends it to the associated ...
by waltervl
Thursday 10 July 2025 12:27
Forum: Bugs and Problems
Topic: Error: Invalid Number Value: '%' for device idx: '%'
Replies: 3
Views: 489

Re: Error: Invalid Number Value: '%' for device idx: '%'

I don't know if it's related to this problem. The only devices with RFXMeter do show up in utility, but the Lacrosse TX3 and Depressure and the rest don't show up in temperature or switches. Screenshot 2025-07-10 at 11-29-39 Domoticz.jpg In menu Setup - Users do you have devices assigned to the ...