Search found 16 matches

by pikassent
Tuesday 20 February 2024 18:55
Forum: dzVents
Topic: DZvents and security
Replies: 28
Views: 1596

Re: DZvents and security

Hi,

Please, try:

Code: Select all

...
if (device.state == domoticz.SECURITY_ARMEDAWAY) then
...
by pikassent
Sunday 18 February 2024 17:56
Forum: Python
Topic: Python Plugin: MqttMapper
Replies: 324
Views: 35358

Re: Python Plugin: MqttMapper

Hi,

Thanks a lot for your answer.
FlyingDomotic wrote: Sunday 18 February 2024 14:13 Hello,
[...]
Unless I do a very specific decoding for the alert sensor [...]
I'll stay tunned for that
by pikassent
Sunday 18 February 2024 11:25
Forum: Python
Topic: Python Plugin: MqttMapper
Replies: 324
Views: 35358

Re: Python Plugin: MqttMapper

Hi FlyingDomotic, I'm trying to manage an alert sensor via MqttMapper plugin without success. Do you know if could be possible using a config like: { "MqttMapperStove": { "topic": "tele/stove/STATE", "type": "243", "subtype": "22", "switchtype": "0", "mapping": {"item": "alert"} } } and payloads ...
by pikassent
Saturday 17 February 2024 20:35
Forum: MQTT Auto Discovery
Topic: MQTT Client Gateway vs MQTT Auto Discovery
Replies: 7
Views: 5737

Re: MQTT Client Gateway vs MQTT Auto Discovery

Hi waltervl, To be honest, I don't know how to achieve same result with your suggestions: - MqttMapper: With following template, you can create Alert device but I didn't found how to provide both values (sValue=text + nValue=level) needed to update the sensor in "mapping" section { "MqttMapperStove ...
by pikassent
Friday 16 February 2024 19:58
Forum: MQTT Auto Discovery
Topic: MQTT Client Gateway vs MQTT Auto Discovery
Replies: 7
Views: 5737

Re: MQTT Client Gateway vs MQTT Auto Discovery

Hi, Following this topic, I'm still trying to get rid of the MQTT hardware for my external python scripts and move to great MQTT-AD. One of the last devices to be migrated is one Alert virtual sensor/device monitoring a remote pellets stove. After several weeks playing with domoticz source code, I ...
by pikassent
Wednesday 07 February 2024 20:13
Forum: dzVents
Topic: switch device AND ledbutton
Replies: 17
Views: 752

Re: switch device AND ledbutton

Hi,
Try to remove the trailing slash:

Code: Select all

domoticz.executeShellCommand ('mosquitto_pub -h 10.0.1.122 -p 1883 -t domoticz/out/buttonplus/wk1/button/1l/ledrgb -m 8323072')
maybe you are publishing in topic domoticz/out/buttonplus/wk1/button/1l/ledrgb/<blank>
by pikassent
Friday 26 January 2024 18:45
Forum: MQTT Auto Discovery
Topic: MQTT Auto Discovery with Mosquitto and Shelly1
Replies: 27
Views: 5956

Re: MQTT Auto Discovery with Mosquitto and Shelly1

Hi lwolf, It works like a charm :) ./run.sh Mosquitto conf found. persistence ENABLED Ini file exists Connecting to MQTT server... Connecting to MQTT server... subscribed shellies/announce Connecting to MQTT server... subscribed shellies_discovery/rpc Connecting to MQTT server... subscribed +/online ...
by pikassent
Sunday 21 January 2024 9:54
Forum: MQTT Auto Discovery
Topic: MQTT Auto Discovery with Mosquitto and Shelly1
Replies: 27
Views: 5956

Re: MQTT Auto Discovery with Mosquitto and Shelly1

sincze wrote: Saturday 20 January 2024 16:23 Great same idea as shellyteacher4domo
Would be nice if we could modify https://github.com/enesbcs/shellyteacher4domo to tasmotateacher4domo. :D
It was my idea but my python skills are not good enough :(

sincze wrote: Saturday 20 January 2024 16:23 UPDATE: 18:18
I managed to create my first device ;-) ON/OFF switch. :D
Cheers!
by pikassent
Saturday 20 January 2024 12:23
Forum: MQTT Auto Discovery
Topic: MQTT Auto Discovery with Mosquitto and Shelly1
Replies: 27
Views: 5956

Re: MQTT Auto Discovery with Mosquitto and Shelly1

You are right. It will "teach" domoticz to discover your Tasmota v11+ device
by pikassent
Friday 19 January 2024 18:42
Forum: MQTT Auto Discovery
Topic: MQTT Auto Discovery with Mosquitto and Shelly1
Replies: 27
Views: 5956

Re: MQTT Auto Discovery with Mosquitto and Shelly1

.... can you point me in the direction of your work so I can learn something from it? (Tasmota kicked out auto discovery (setoption19 1) since version 11 or 12 and implemented their own. ..... Let me share how I deal with thus you still can use MQTT-AD after Tasmota versions 11.1.0 with a little ...
by pikassent
Sunday 07 January 2024 18:02
Forum: MQTT Auto Discovery
Topic: MQTT Client Gateway vs MQTT Auto Discovery
Replies: 7
Views: 5737

Re: MQTT Client Gateway vs MQTT Auto Discovery

Thanks a lot for your feedback :)
When I create external python scripts/ESP modules I favor MQTT-AD as well
This is the way ;)
by pikassent
Saturday 06 January 2024 22:01
Forum: MQTT Auto Discovery
Topic: Device type incorrect
Replies: 9
Views: 5435

Re: Device type incorrect

Hi,
You need

Code: Select all

"unit_of_measurement":"text"
to get it as Text device by MQTT Auto Discovery
by pikassent
Saturday 06 January 2024 19:02
Forum: MQTT Auto Discovery
Topic: MQTT Client Gateway vs MQTT Auto Discovery
Replies: 7
Views: 5737

MQTT Client Gateway vs MQTT Auto Discovery

Hello all, After 4 years running Domoticz with more than 100 devices (including virtual, tasmotas, shellies, ... almost all based on MQTT protocol and JSON API) and a relevant quantity of dzVents scripts, I'm thinking about what should be the way for the future of my installation from the ...
by pikassent
Sunday 11 June 2023 20:04
Forum: Switches and Scenes
Topic: Unexpected Virtual Switch Behavior
Replies: 13
Views: 2193

Re: Unexpected Virtual Switch Behavior

Hi! I was looking for same solution for a long time and, at the end, the best approach was to use the autodiscovery python plugin by emontnemery (sorry, not allowed to post urls => forum topic 21918) As mentioned in the features: State in Domoticz in synchronized with device state (unlike if using ...
by pikassent
Sunday 12 March 2023 20:21
Forum: MQTT Auto Discovery
Topic: MQTT Autodiscovery not adding devices?
Replies: 3
Views: 594

Re: MQTT Autodiscovery not adding devices?

Hi,

From your attached log, you are running tasmota 12_4_0
Last tasmota version working with MQTT AD is 11_1_0 (at least for me)

Hope this helps