This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const device_IP = "192.168.1.40" | |
let opt_path = "mypv.0"; | |
const url_Data = 'http://' + device_IP + '/data.jsn'; | |
const url_Setup = 'http://' + device_IP + '/setup.jsn'; | |
function requestData() { | |
const options = { | |
url: url_Data, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parser.0.Leda.00-BrennraumTemp": { | |
"_id": "parser.0.Leda.00-BrennraumTemp", | |
"common": { | |
"name": "Leda.00-BrennraumTemp", | |
"write": false, | |
"read": true, | |
"unit": "°C", | |
"type": "number", | |
"role": "temperature", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import datetime; | |
DEFAULT_PORT = 10001 | |
STATUS_START1=b'\x0e' | |
STATUS_START2=b'\xff' | |
STATUS_END=int(56) | |
class LedatronicComm: |