Hi,
Since many days I’m triying to get datas json from RS485 (serial_sensor) from my heat pump.
My serial sensor
sensor:
- platform: serial
serial_port: /dev/ttyUSB1
baudrate: 15200
bytesize: 7
parity: N
stopbits: 1
My quasi json data:
<99>{
"dane":{
"cwu":{
"D001":3970,
"D002":3700
}"co1":{
"C006":30000,
"C007":0,
"C008":3291,
"C009":2450,
"C010":61,
"C046":222,
"C047":317,
"C048":3228,
"C049":30000
}
}
}<3>{
"dane":{
"dataCzas":{
"T001":779207,
"T002":200217,
"T003":310320223
}"alarmy":{
"A011":0000000000U,
"O000":0
}"co1":{
"C001":0,
"C002":false,
"C003":true,
"P017":"false",
"P015":true,
"P016":true,
"P018":1,
"P019":1769,
"P003":14436587,
"C051":0
}"internet":{
"I001":true,
"I002":1,
"I003":0
}
}
}<3>{
"dane":{
"dataCzas":{
"T001":779207,
"T002":200217,
"T003":310320223
}"alarmy":{
"A011":0000000000U,
"O000":0
}"co1":{
"C001":0,
"C002":false,
"C003":true,
"P017":false,
"P015":true,
"P016":true,
"P018":1,
"P019":1769,
"P003":14436587,
"C051":0
}"internet":{
"I001":"true",
"I002":1,
"I003":0
}
}
}
Honnestly, I think I used all the ideas I had and I look forward to any help