Hi, I have a conversol solar inverter, which only communicates via rs232. I would like to get the data into domoticz, but need a few pointers to get me started.
Could someone suggest the best way of achieving the following:-
Every 10 seconds
-ttyUSB0 ( 2400,N,8,1)
-Send ascii string of "QPIGS ...
Search found 3 matches
- Wednesday 28 December 2022 20:08
- Forum: Utility
- Topic: Send and receive from rs232 serial port
- Replies: 1
- Views: 621
- Wednesday 30 March 2022 22:35
- Forum: dzVents
- Topic: Extract value from json response
- Replies: 5
- Views: 1671
Re: Extract value from json response
Hi all, thanks for your input.
@doler, the code worked, but after @waltervl input, I played a bit more, and discovered that was the way to go, and now have something working.
@doler, the code worked, but after @waltervl input, I played a bit more, and discovered that was the way to go, and now have something working.
- Saturday 26 March 2022 10:49
- Forum: dzVents
- Topic: Extract value from json response
- Replies: 5
- Views: 1671
Extract value from json response
Hi, I am a newbie to domoticz, and have been experimenting with lua/dzvents scripting, and need a little help
My script calls dz.openurl with a callback
/json.htm?type=devices&rid=2, which successfully returns values,
ie
"Data" : "309 Watt",
"LastUpdate" : "2022-03-25 19:05:43",
My question is ...
My script calls dz.openurl with a callback
/json.htm?type=devices&rid=2, which successfully returns values,
ie
"Data" : "309 Watt",
"LastUpdate" : "2022-03-25 19:05:43",
My question is ...