Hi there, I'm new here as you can see I need a little help with my project I'm getting this:
{"payload":[15,32,1,1,0,9,8,183,87,91,2,183,87,255,1,195,130],"port":"/dev/ttyUSB0","_msgid":"efd1e1ef.29c8e","checksum":0,"run":"ac","type":"Inverter AC","values":{"bat_volt":55.44,"bat_current_used":0,"bat_current_charge":0.6,"bat_inverter_period":49.902515436095584,"bat_watts":0,"bat_charge_watts":33.263999999999996,"Mains":1,"Absorpion":10,"Bulk":10,"Float":1,"Inverter":10,"Overload":10,"Low Battery":10,"Temperature":10,"bf_factor":1,"inverter_factor":1,"mains_volt":224.55,"mains_current":6.03,"inverter_voltage":224.55,"inverter_current":5.11,"mains_period":50.1025641025641,"mains_watts":1354.0365000000002,"inverter_watts":1147.4505000000001,"InverterWattsOut":1147.4505000000001},"node":1,"packet_type":2}
If I try to send it over mqtt I get only the:
[15,32,1,1,0,9,8,183,87,91,2,183,87,255,1,195,130]
Another help would be if you can tell me how can I parse it or make a function to read the values.
Thank you.