Search found 11 matches
- Friday 18 August 2023 16:44
- Forum: MQTT Auto Discovery
- Topic: help for convert MQTT message to MQTT discovery
- Replies: 1
- Views: 477
help for convert MQTT message to MQTT discovery
Hello I have many scripts MQTT and ESP qui old MQTT protocol with example: {"command": "switchlight", "idx": 701, "switchcmd": "On" } My idx is a swith and name is Portilon: I have tested with prefix "domoticz" mosquitto_pub -h 127.0.0.1 -p 1883 -t "domoticz/switch/Portillon/set" -m ON any message ...
- Wednesday 25 May 2022 17:40
- Forum: Python
- Topic: help for telegram silent with python
- Replies: 10
- Views: 455
Re: help for telegram silent with python
If priority is lastest, not work for me ...
Work somewhere
The message is receive all cases
Work somewhere
The message is receive all cases
- Wednesday 25 May 2022 16:49
- Forum: Python
- Topic: help for telegram silent with python
- Replies: 10
- Views: 455
Re: help for telegram silent with python
It's working send_mqtt_publish(MQTT_TOPIC_IN, '{\"command\": \"sendnotification\", \"subject\": \"Alarme\", \"priority\": -1, \"body\": \"Probleme arrosage, intervention immediate\"}') low case priority and after subject only Thanks for all
- Wednesday 25 May 2022 16:42
- Forum: Python
- Topic: help for telegram silent with python
- Replies: 10
- Views: 455
Re: help for telegram silent with python
Los case, same problem
Version: 2022.1
Build Hash: c9526851b
Compile Date: 2022-01-31 09:34:32
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
Version: 2022.1
Build Hash: c9526851b
Compile Date: 2022-01-31 09:34:32
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
- Wednesday 25 May 2022 16:02
- Forum: Python
- Topic: help for telegram silent with python
- Replies: 10
- Views: 455
Re: help for telegram silent with python
On log file, none error
I have tested, not working ...
I have tested, not working ...
- Wednesday 25 May 2022 14:40
- Forum: Python
- Topic: help for telegram silent with python
- Replies: 10
- Views: 455
help for telegram silent with python
Hello I would like to send a silent message with python. With LUA on domoticz, it's working fine. but not in python ... def send_mqtt_publish(topic, data): data_mqtt = json.dumps(data) mqttc.publish(topic, data) def on_connect(client, userdata, flags, rc): mqttc.connected_flag=True mqttc.subscribe ...
- Wednesday 04 April 2018 9:02
- Forum: LUA
- Topic: check object json
- Replies: 1
- Views: 524
Re: check object json
i have found this and it work fine
Code: Select all
string.match(jsondevices, "error", 1)
- Monday 02 April 2018 22:03
- Forum: LUA
- Topic: check object json
- Replies: 1
- Views: 524
check object json
Hello I would if it's possible to test if an object exist on response json { "tickets": [], "links": [], "disruptions": [], "notes": [], "feed_publishers": [], "context": { "timezone": "Europe/Paris", "current_datetime": "20180402T213237" }, "error": { "message": "no solution found for this journey ...
- Thursday 15 March 2018 15:05
- Forum: LUA
- Topic: problem for reading json with lua
- Replies: 1
- Views: 716
Re: problem for reading json with lua
Thanks for your reponse
it's works fine !
it's works fine !
- Wednesday 14 March 2018 15:11
- Forum: LUA
- Topic: problem for reading json with lua
- Replies: 1
- Views: 716
problem for reading json with lua
Hello I use many json data for extract data. But with this file, i can't extract specific data i read all the table only the file { • request_state: 200, • request_key: "fd543c77e33d6c8a5e218e948a19e487", • message: "OK", • model_run: "01", • source: "internal:GFS:1", • 2018-03-14 04:00:00: { o tempe ...
- Monday 21 August 2017 22:52
- Forum: Other questions and discussions
- Topic: script at running and stop
- Replies: 1
- Views: 672
script at running and stop
Hello I would like if domoticz can run once script at startup and once script at stop. i have an external card with permanente communication every 10s and autoprotect mode after no reponse to 10s But i can send maintenance mode for stop this (if pc reboot or domoticz crash) it's possible to do this ...