Search found 372 matches

by FlyingDomotic
Sunday 13 July 2025 15:21
Forum: MQTT Auto Discovery
Topic: Using MQTT for comm between Domoticz instances
Replies: 35
Views: 4544

Re: Using MQTT for comm between Domoticz instances

Could you try to install (and setup properly) "MQTT Client Gateway with LAN interface"? On both machines. FYI, it manages 'domoticz/in" and "domoticz/out" topics, which are used by Mqtt Sync plugin. It's generally installed on Domoticz, so I didn't mention it into Mqtt Sync README, but I should do ...
by FlyingDomotic
Saturday 12 July 2025 23:21
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

Re: Marstek Battery plugin

MqttMapper uses topic as key for each created device, which is a constant (while device name can easily be changed). Drawback is that when you create two (or more) devices with the same topic, you get duplicate values. There's a way to fix this: using the "key" item. For example: { "MPWR": { "topic ...
by FlyingDomotic
Saturday 12 July 2025 23:10
Forum: MQTT Auto Discovery
Topic: Using MQTT for comm between Domoticz instances
Replies: 35
Views: 4544

Re: Using MQTT for comm between Domoticz instances

Sorry not seeing it in previous...

It seems that nothing is sent on domoticz/out.

Did you install "MQTT Client Gateway with LAN interface" on both machines?
by FlyingDomotic
Saturday 12 July 2025 19:21
Forum: MQTT Auto Discovery
Topic: Using MQTT for comm between Domoticz instances
Replies: 35
Views: 4544

Re: Using MQTT for comm between Domoticz instances

Having a copy of your configuration file (with personal data replaced by xxx or ***) may help. Before having it, can you check you correctly defined a mapping section, like in the example : { "settings": { "configVersion": "V1.0.0", "masterName": .... }, "mapping": [ {"idx": 2254, "allowSlaveUpdate ...
by FlyingDomotic
Saturday 12 July 2025 18:49
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

Re: Marstek Battery plugin

I changed the topic to : "topic": "/Marstek/#", 2025-07-12 15:45:01.525 MQTT Mapper for DR134: 30 a2 01 00 08 2f 4d 61 72 73 74 65 6b 7b 22 70 61 72 61 6d 0®../Marstek{"param 2025-07-12 15:45:01.525 MQTT Mapper for DR134: 73 22 3a 7b 22 64 69 72 22 3a 22 75 70 22 2c 22 69 64 22 3a s":{"dir":"up" ...
by FlyingDomotic
Saturday 12 July 2025 15:22
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

Re: Marstek Battery plugin

Would it be possible to turn debug to "Verbose"?

Could you also check that MQTT topic really is "Marstek" (take care of upper/lowercases)?

Should you use same ("Marstek") topic more than once, ensure you properly set a "key" item for each device.
by FlyingDomotic
Saturday 12 July 2025 9:37
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

Re: Marstek Battery plugin

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!
by FlyingDomotic
Saturday 12 July 2025 1:00
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

Re: Marstek Battery plugin

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.
by FlyingDomotic
Saturday 12 July 2025 0:18
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

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 FlyingDomotic
Friday 11 July 2025 23:36
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

Re: Marstek Battery plugin

I was more looking for "scan all list items, find those having "name"=xxx, find item "value" and use it as value to load device", as using fixed index is not so idiot proof ;-)
by FlyingDomotic
Friday 11 July 2025 22:42
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

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 FlyingDomotic
Friday 11 July 2025 22:28
Forum: Python
Topic: Python Plugin: MqttMapper
Replies: 367
Views: 43973

Re: Python Plugin: MqttMapper

I see it picks up the name of the HW I have set on the name device, something I can change ? https://i.imgur.com/3FXcHCg.png Would be cool if I could define the icon's I like to use as well. Icons that can be changed (meaning not forced by Domoticz like temperature) are generic to any Domoticz ...
by FlyingDomotic
Friday 11 July 2025 22:23
Forum: Python
Topic: Python Plugin: MqttMapper
Replies: 367
Views: 43973

Re: Python Plugin: MqttMapper

What happens if you have more then one of the same key ? lets say like this ? { "status": "On", "running": { "status": "Running" } } First one "status": "On" is "item": "status", second one "status": "Running" is "item": "running/status" "default" is just what you use, nothing to do with the source ...
by FlyingDomotic
Friday 11 July 2025 9:52
Forum: Python
Topic: Python Plugin: MqttMapper
Replies: 367
Views: 43973

Re: Python Plugin: MqttMapper

Is it just me or more who get confused with the mix of English and French? It would better to have 2 different readme files. Second it's hard to follow when we don't have an source output from MQTT. So you can see how the source looks like and how the JSON output looks like. I'm thinking using this ...
by FlyingDomotic
Friday 11 July 2025 1:02
Forum: Python
Topic: Python Plugin: MqttMapper
Replies: 367
Views: 43973

Re: Python Plugin: MqttMapper

waltervl wrote: Thursday 10 July 2025 16:26 @FlyingDomotic your help requested in this topic please viewtopic.php?p=327147#p327147
Error MQTT mapper: Duplicate xxxxxx node/key
Fixed!
by FlyingDomotic
Thursday 10 July 2025 20:39
Forum: MQTT Auto Discovery
Topic: Ihto heatpump connected to Domoticz
Replies: 9
Views: 891

Re: Ihto heatpump connected to Domoticz

Problem is that 2 devices are linked to topic "itho/ithostatus", and as this is Domoticz default key for device, 2 of them are hidden. That's why a "key" item has been created. To fix the issue, you may try something like: { "Itho Boiler temp beneden": { "topic": "itho/ithostatus", "key": itho ...
by FlyingDomotic
Thursday 10 July 2025 11:47
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

Re: Marstek Battery plugin

What kind of MQTT publish transmission did you setup? Custom?
by FlyingDomotic
Thursday 10 July 2025 2:15
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

Re: Marstek Battery plugin

Do you have any pointer to the doc explaining how to change layout?
by FlyingDomotic
Thursday 10 July 2025 2:13
Forum: MQTT Auto Discovery
Topic: Using MQTT for comm between Domoticz instances
Replies: 35
Views: 4544

Re: Using MQTT for comm between Domoticz instances

We're never protected against chance :D
by FlyingDomotic
Wednesday 09 July 2025 11:57
Forum: Python
Topic: Marstek Battery plugin
Replies: 45
Views: 2253

Re: Marstek Battery plugin

Not sure how this could be used in the MQTT mapper JSON configuration file. You're right, this is not supported. As of now, only "*" is supported to scan a list of values, but idea is to be able to select an item, not an item's value. "select" or "reject" are also supported, but to select or reject ...