Closed paule96 closed 4 months ago
additional note: with curl on the same homeassitant instance I can get the data.
additional note: with curl on the same homeassitant instance I can get the data.
actually this statement confuse me more... but let's focus on the actual "initial" report...
The "mode 1" [IEC-62056-21 (IR)] is currently not implemented - So no surprise, that you can not setup the integration - and so this is for sure an enhancement which will take some time... The main problem are the "none ASCII" characters in the 'http://[IP-HERE]/nodes/1/data' output - I would have the need to have the actual byte sequence. Would it be possible for you, to use tool like CURL and save the response in a file? [so that I can get the data 1:1]
So @paule96 please be so kind and use curl to make a request to http://[user]:[pwd]@[IP-HERE]/data.json?node_id=1
and let curl save the response to a file... and then attach the file here - or simply email it to me (address can be found in my profile) - TIA
... I have to admit, that I have difficulties (aka failing) finding a python lib that is able to parse this content :-/
could it be that you also need to slightly rotate the reading head of the pulse to enhance data quality? - that we have data segments starting with (
but not ending with a )
or vise versa confuse me...
I tried to use this "lib" here... https://github.com/pwitab/iec62056-21
Currently it's hard to tell because the tibber api for pulse is broken the the app is broken too. But I can try to talk with the support if they can do something. But it was working in the app before the downtime of the app. (since 18.06.24)
What I noticed now that I also get some times only some data like:
/EFR5\5
v
!
w
or like :
/EFR5\5
{
250(3.60
V)
!
p
so if the data seams to be "potentially" corrupted - then turn the reading head might help - here are other topics dealing with the same problem... Specially when your pulse does not send data to tibber either...
No it's not mine. Tibber as problems right now: https://status.tibber.com/
But yes I will try to turn the header. Also in the debug log of the pulse itself you see the curupted data:
1 (66116859) efr_uart_task warp_protocol_data: DATA = "0< C>0:1< E>8< E>0*07< 8>000916< E>0406*kVH)<CR><LF>"
I 1 (66116859) efr_uart_task warp_protocol_data: DATA = "1< C>0:1.8.0*08(000795.3644*JVH< 8><CR><LF>"
I 1 (66116869) efr_uart_task warp_protocol_data: DATA = "1-0:0< E>8.0<LF>"
I 1 (66116889) efr_uart_task warp_protocol_data: DATA = "09( 00606.8162*kWH)<CR><LF>"
I 1 (66116889) efr_uart_task warp_protocol_data: DATA = "1-0:1< E>8.0*10(000597.4220*kWH)<CR><LF>"
I 1 (66116899) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.0<LF>"
I 1 (66116909) efr_uart_task warp_protocol_data: DATA = "11(000010.7754*kVH< 8><CR><LF>"
I 1 (66116919) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.0*12< 8>000392.4246*kWh)<CR><LF>"
I 1 (66116929) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.0*13< 8>000280.1850<LF>"
I 1 (66116939) efr_uart_task warp_protocol_data: DATA = "JVH< 8>< C><LF>"
I 1 (66116949) efr_uart_task warp_protocol_data: DATA = "1-0:0.8.0*14< 8>000264.6084*kWh< 8><CR><LF>"
I 1 (66116959) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.0<LF>"
I 1 (66116969) efr_uart_task warp_protocol_data: DATA = "15(000050.2200*kWh< 9><CR><LF>"
I 1 (66116979) efr_uart_task warp_protocol_data: DATA = "1-0:0< E>8.0<LF>"
I 1 (66116979) efr_uart_task warp_protocol_data: DATA = "06(000034.8412*JWh< 8>< C><LF>"
I 1 (66116989) efr_uart_task warp_protocol_data: DATA = "0-0:0.8< E>0<LF>"
I 1 (66117009) efr_uart_task warp_protocol_data: DATA = "16(000000.0000<LF>"
I 1 (66117009) efr_uart_task warp_protocol_data: DATA = "JVH)< 8><LF>"
I 1 (66117019) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.1<LF>"
I 1 (66117019) efr_uart_task warp_protocol_data: DATA = "205< 8>000764.1004*kWH< 8><CR><LF>"
I 1 (66117039) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.1*200(000662< E>8066*JWH)<CR><LF>"
I 1 (66117049) efr_uart_task warp_protocol_data: DATA = "1<CR>0:1< E>8< E>1*01< 8>000743.2088*kWh)<CR><LF>"
I 1 (66117059) efr_uart_task warp_protocol_data: DATA = "1-0:0< E>8.1*02(000710< E>4460*kWh< 8>< 8><LF>"
I 1 (66117059) efr_uart_task warp_protocol_data: DATA = "0< 8>0:1< E>8.1*02(000676< E>2286*kWH< 8>< C><LF>"
I 1 (66117079) efr_uart_task warp_protocol_data: DATA = "1-0:0< E>8< E>0<LF>"
I 1 (66117089) efr_uart_task warp_protocol_data: DATA = "04(000616< E>1332<LF>"
I 1 (66117099) efr_uart_task warp_protocol_data: DATA = "JWh)<CR><LF>"
I 1 (66117099) efr_uart_task warp_protocol_data: DATA = "1-0:1< E>8.1*00< 8>000606< E>0840*kVH< 8><CR><LF>"
I 1 (66117109) efr_uart_task warp_protocol_data: DATA = "1-0:1.8< E>0<LF>"
I 1 (66117129) efr_uart_task warp_protocol_data: DATA = "06(000553< E>0814*kWh)<CR><LF>"
I 1 (66117129) efr_uart_task warp_protocol_data: DATA = "1< C>0:0< E>8< E> *07(000515< E>7098<LF>"
I 1 (66117139) efr_uart_task warp_protocol_data: DATA = "JVh)<CR><LF>"
I 1 (66117149) efr_uart_task warp_protocol_data: DATA = "1-0:1.8< E>0<LF>"
I 1 (66117159) efr_uart_task warp_protocol_data: DATA = "08(000441.7500<LF>"
I 1 (66117169) efr_uart_task warp_protocol_data: DATA = "JWh)<CR><LF>"
I 1 (66117169) efr_uart_task warp_protocol_data: DATA = "1-0:0.8.1*08< 8>000299.4616<LF>"
I 1 (66117179) efr_uart_task warp_protocol_data: DATA = "JWh)<CR><LF>"
I 1 (66117189) efr_uart_task warp_protocol_data: DATA = "1-0:1< E>8< E>1*10(000201.9020*kWh)<CR><LF>"
I 1 (66117199) efr_uart_task warp_protocol_data: DATA = "1< C>0:1.8.1*01(000294.2608<LF>"
I 1 (66117209) efr_uart_task warp_protocol_data: DATA = "kWh)<CR><LF>"
I 1 (66117219) efr_uart_task warp_protocol_data: DATA = "0< 8>0:1.8.0*12(000"20< E>8742*kWH< 8>< C><LF>"
I 1 (66117229) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.1*02< 8>000153.4794*JVH< 8><CR><LF>"
I 1 (66117239) efr_uart_task warp_protocol_data: DATA = "1-0:1.8< E>0<LF>"
I 1 (66117249) efr_uart_task warp_protocol_data: DATA = "14(000150.8802*kWh)<CR><LF>"
I 1 (66117259) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.1<LF>"
I 1 (66117259) efr_uart_task warp_protocol_data: DATA = "15(000089.1118*kVh)<CR><LF>"
I 1 (66117269) efr_uart_task warp_protocol_data: DATA = "1-0:1.8. *06< 8>000008.7450<LF>"
I 1 (66117289) efr_uart_task warp_protocol_data: DATA = "JVH< 8>< C><LF>"
I 1 (66117289) efr_uart_task warp_protocol_data: DATA = "0-0:1< E>8< E>1*17(000000.0000<LF>"
I 1 (66117299) efr_uart_task warp_protocol_data: DATA = "JVh)<CR><LF>"
I 1 (66117309) efr_uart_task warp_protocol_data: DATA = "1-0:1.8< E>2*200< 8>000460< E>2296<LF>"
I 1 (66117319) efr_uart_task warp_protocol_data: DATA = "kWh)< C><LF>"
I 1 (66117329) efr_uart_task warp_protocol_data: DATA = "1-0:0.8.2*240(000570.8034*kWh)<CR><LF>"
I 1 (66117339) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.2*01(000560.4626*kWh)<CR><LF>"
I 1 (66117339) efr_uart_task warp_protocol_data: DATA = "0-0:1.8< E>2*02(000022.2332*kWh< 8>< C><LF>"
I 1 (66117359) efr_uart_task warp_protocol_data: DATA = "1-0:0< E>8.2*03(000512.9152*kWH< 9>< C><LF>"
I 1 (66117369) efr_uart_task warp_protocol_data: DATA = "1-0:0< E>8.2<LF>"
I 1 (66117369) efr_uart_task warp_protocol_data: DATA = "00(000478.9106<LF>"
I 1 (66117379) efr_uart_task warp_protocol_data: DATA = "JVH)<CR><LF>"
I 1 (66117389) efr_uart_task warp_protocol_data: DATA = "1-0:0< E>8.2*05(000078.6262*JWh)<CR><LF>"
I 1 (66117399) efr_uart_task warp_protocol_data: DATA = "1< C>0:1.8< E>2<LF>"
I 1 (66117409) efr_uart_task warp_protocol_data: DATA = "06(000435< E>0668<LF>"
I 1 (66117419) efr_uart_task warp_protocol_data: DATA = "JWh)<CR><LF>"
I 1 (66117419) efr_uart_task warp_protocol_data: DATA = "1-0:1< E>8< E>2*07(000000.3208*kWh)<CR><LF>"
I 1 (66117439) efr_uart_task warp_protocol_data: DATA = "1-0:1.8< E>2*08(000343.6104<LF>"
I 1 (66117449) efr_uart_task warp_protocol_data: DATA = "KWh< 8><CR><LF>"
I 1 (66117449) efr_uart_task warp_protocol_data: DATA = "1-0:1.8< E>2<LF>"
I 1 (66117459) efr_uart_task warp_protocol_data: DATA = "09(000208.3546*kVh)<CR><LF>"
I 1 (66117469) efr_uart_task warp_protocol_data: DATA = "1< C>0:1< E>8.2*00< 8>000255.5304*kWh)<CR><LF>"
I 1 (66117479) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.2*00< 8>000206< E>5146<LF>"
I 1 (66117489) efr_uart_task warp_protocol_data: DATA = "JWh)<CR><LF>"
I 1 (66117499) efr_uart_task warp_protocol_data: DATA = "1< C>0:1.8.2*12< 8>000171< E>4404*kWH)<CR><LF>"
I 1 (66117509) efr_uart_task warp_protocol_data: DATA = "1< C>0:1.8.2*13(0 0126< E>6056*kWh< 8><CR><LF>"
I 1 (66117519) efr_uart_task warp_protocol_data: DATA = "1-0:0< E>8.2*14< 8>000003< E>7252*JWh< 8><CR><LF>"
I 1 (66117529) efr_uart_task warp_protocol_data: DATA = "1-0:1.8."*04< 8>000061< E>1082*kWh< 8>< 8><LF>"
I 1 (66117539) efr_uart_task warp_protocol_data: DATA = "1-0:1.8.2*16(000016.0862*kWH< 8>< 8><LF>"
I 1 (66117549) efr_uart_task warp_protocol_data: DATA = "1< 8>0:0< E>8.2*17< 8>000000.0000<LF>"
I 1 (66117569) efr_uart_task warp_protocol_data: DATA = "kWh)<CR><LF>"
I 1 (66117569) efr_uart_task warp_protocol_data: DATA = "1< C>0:2< E>8.0*255< 8>000006< E>6866*KWh)<CR><LF>"
I 1 (66117579) efr_uart_task warp_protocol_data: DATA = "0-0:2.8< E>0<LF>"
I 1 (66117589) efr_uart_task warp_protocol_data: DATA = "250(000 7.6866*kWh< 9>< C><LF>"
I 1 (66117599) efr_uart_task warp_protocol_data: DATA = "0< 8> :2< E>8.0*00< 8>000000.0000*kWh)<CR><LF>"
I 1 (66117609) efr_uart_task warp_protocol_data: DATA = "1-0:".8.0*02< 8>000000.0000*kWh)< C><LF>"
I 1 (66117619) efr_uart_task warp_protocol_data: DATA = "1-0:2.8. <LF>"
I 1 (66117619) efr_uart_task warp_protocol_data: DATA = "03< 8>000000.0000*kWh)< C><LF>"
I 1 (66117639) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.0*04(000000.0000*kWH< 8><CR><LF>"
I 1 (66117649) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.0<LF>"
I 1 (66117649) efr_uart_task warp_protocol_data: DATA = "05(000000< E>0000<LF>"
I 1 (66117659) efr_uart_task warp_protocol_data: DATA = "JVh)<CR><LF>"
I 1 (66117669) efr_uart_task warp_protocol_data: DATA = "1-0:2.8< E>0<LF>"
I 1 (66117679) efr_uart_task warp_protocol_data: DATA = "06(000000.0000*kWh< 9><CR><LF>"
I 1 (66117689) efr_uart_task warp_protocol_data: DATA = "1-0:2.8< E>0<LF>"
I 1 (66117699) efr_uart_task warp_protocol_data: DATA = "07(000000.0000*kWh< 9><CR><LF>"
I 1 (66117699) efr_uart_task warp_protocol_data: DATA = "0-0:2.8.0*08(000000.0000*kWh)<CR><LF>"
I 1 (66117719) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8< E>0*09< 8>000000< E>0000<LF>"
I 1 (66117729) efr_uart_task warp_protocol_data: DATA = "JVH)<CR><LF>"
I 1 (66117729) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8.0<LF>"
I 1 (66117739) efr_uart_task warp_protocol_data: DATA = "00(000000< E>0000*JVH)<CR><LF>"
I 1 (66117749) efr_uart_task warp_protocol_data: DATA = "0<CR>0:2.8.0*00< 8>000000.0000*kWh)<CR><LF>"
I 1 (66117759) efr_uart_task warp_protocol_data: DATA = "1-0:"< E>8.0*12< 8>000000.0000*kWh)<CR><LF>"
I 1 (66117769) efr_uart_task warp_protocol_data: DATA = "0-0:2.8.0*12(000000.0000*JVH< 8><CR><LF>"
I 1 (66117779) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.0*14(000000< E>0000<LF>"
I 1 (66117789) efr_uart_task warp_protocol_data: DATA = "JVh)<CR><LF>"
I 1 (66117799) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8.0<LF>"
I 1 (66117809) efr_uart_task warp_protocol_data: DATA = "15(000000< E>0000<LF>"
I 1 (66117819) efr_uart_task warp_protocol_data: DATA = "KWh)<CR><LF>"
I 1 (66117819) efr_uart_task warp_protocol_data: DATA = "1< C>0:2.8.0*16< 8>000000.0000*kVH)<CR><LF>"
I 1 (66117829) efr_uart_task warp_protocol_data: DATA = "0-0:2.8.0<LF>"
I 1 (66117839) efr_uart_task warp_protocol_data: DATA = "16< 8>000000.0000*kWh)< C><LF>"
I 1 (66117849) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.0<LF>"
I 1 (66117859) efr_uart_task warp_protocol_data: DATA = "255(000005.2000*kWh)<CR><LF>"
I 1 (66117859) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.1<LF>"
I 1 (66117879) efr_uart_task warp_protocol_data: DATA = "244(000005.2544*kWh)<CR><LF>"
I 1 (66117889) efr_uart_task warp_protocol_data: DATA = "0-0:2.8< E>0<LF>"
I 1 (66117889) efr_uart_task warp_protocol_data: DATA = "01(000000< E>0000*kWH< 8>< C><LF>"
I 1 (66117899) efr_uart_task warp_protocol_data: DATA = "1-0:2.8< E>0<LF>"
I 1 (66117909) efr_uart_task warp_protocol_data: DATA = "02< 8>000000.0000<LF>"
I 1 (66117919) efr_uart_task warp_protocol_data: DATA = "kWh)<CR><LF>"
I 1 (66117929) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8.1*0"< 8>00 000< E>0000<LF>"
I 1 (66117939) efr_uart_task warp_protocol_data: DATA = "kVH)<CR><LF>"
I 1 (66117939) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.0<LF>"
I 1 (66117949) efr_uart_task warp_protocol_data: DATA = "04< 8>000000.0000<LF>"
I 1 (66117959) efr_uart_task warp_protocol_data: DATA = "JVh)<CR><LF>"
I 1 (66117969) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8.1*05(000000.0000*kWh)< C><LF>"
I 1 (66117979) efr_uart_task warp_protocol_data: DATA = "1< C>0:2.8.1*06(000000.0000*KWH)<CR><LF>"
I 1 (66117989) efr_uart_task warp_protocol_data: DATA = "0-0:2.8.1*07(00000 .0000*kVh< 8><CR><LF>"
I 1 (66117999) efr_uart_task warp_protocol_data: DATA = "1-0:".8.1*08(000000.0000*kWh)<CR><LF>"
I 1 (66118009) efr_uart_task warp_protocol_data: DATA = "1-0:2.8< E>0*09(000000.0000<LF>"
I 1 (66118019) efr_uart_task warp_protocol_data: DATA = "JWh)<CR><LF>"
I 1 (66118019) efr_uart_task warp_protocol_data: DATA = "1- :2.8.1<LF>"
I 1 (66118029) efr_uart_task warp_protocol_data: DATA = "00< 8>000000.0000<LF>"
I 1 (66118049) efr_uart_task warp_protocol_data: DATA = "kWh)<CR><LF>"
I 1 (66118049) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8< E>0*11< 8>000000.0000<LF>"
I 1 (66118059) efr_uart_task warp_protocol_data: DATA = "KWh)<CR><LF>"
I 1 (66118069) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8< E>1*12(000000< E>0000<LF>"
I 1 (66118079) efr_uart_task warp_protocol_data: DATA = "JVh)<CR><LF>"
I 1 (66118089) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.0*13(00 000.0000<LF>"
I 1 (66118099) efr_uart_task warp_protocol_data: DATA = "kVh< 8><CR><LF>"
I 1 (66118099) efr_uart_task warp_protocol_data: DATA = "0-0:2.8< E>0<LF>"
I 1 (66118109) efr_uart_task warp_protocol_data: DATA = "14(000000< E>0000*kWh)< C><LF>"
I 1 (66118119) efr_uart_task warp_protocol_data: DATA = "1-0:2.8< E>0*15< 8>000000.0000<LF>"
I 1 (66118129) efr_uart_task warp_protocol_data: DATA = "kWh)< C><LF>"
I 1 (66118139) efr_uart_task warp_protocol_data: DATA = "1- :2.8.1*16< 8>000000.0000*kWh)< C><LF>"
I 1 (66118139) efr_uart_task warp_protocol_data: DATA = "1< C>0:2.8< E>0<LF>"
I 1 (66118159) efr_uart_task warp_protocol_data: DATA = "06(000000.0000*KWh)<CR><LF>"
I 1 (66118169) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8< E>2*255(000002.4322*kWh)<CR><LF>"
I 1 (66118179) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.2*200(000002.4322*kWh)<CR><LF>"
I 1 (66118179) efr_uart_task warp_protocol_data: DATA = "1< C>0:2< E>8< E>2*01< 8>000000< E>0000*kVh)<CR><LF>"
I 1 (66118199) efr_uart_task warp_protocol_data: DATA = "1< C>0:2.8.2*02< 8>000000< E>0000*kWh)< C><LF>"
I 1 (66118209) efr_uart_task warp_protocol_data: DATA = "1< C>0:2.8.2*0"(000000.0000<LF>"
I 1 (66118219) efr_uart_task warp_protocol_data: DATA = "kWh)<CR><LF>"
I 1 (66118219) efr_uart_task warp_protocol_data: DATA = "0< 8>0:2< E>8.2*04< 8>000000< E>0000<LF>"
I 1 (66118239) efr_uart_task warp_protocol_data: DATA = "kWh)< C><LF>"
I 1 (66118249) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8< E>2*04< 8>000000.0000*kWH)<CR><LF>"
I 1 (66118249) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.2<LF>"
I 1 (66118259) efr_uart_task warp_protocol_data: DATA = "06(000000< E>0000<LF>"
I 1 (66118269) efr_uart_task warp_protocol_data: DATA = "JWh)<CR><LF>"
I 1 (66118279) efr_uart_task warp_protocol_data: DATA = "1- :2.8.2*07(000000.00 0<LF>"
I 1 (66118289) efr_uart_task warp_protocol_data: DATA = "kWh)<CR><LF>"
I 1 (66118289) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8< E>2*08< 8>000000.0000<LF>"
I 1 (66118299) efr_uart_task warp_protocol_data: DATA = "JWh)< C><LF>"
I 1 (66118319) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.2*09(000000.0000*kWh)<CR><LF>"
I 1 (66118319) efr_uart_task warp_protocol_data: DATA = "0-0:2< E>8< E>2*10< 8>000000.0000<LF>"
I 1 (66118329) efr_uart_task warp_protocol_data: DATA = "JWh)<CR><LF>"
I 1 (66118339) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.2*11(000000.0000*kWh)<CR><LF>"
I 1 (66118359) efr_uart_task warp_protocol_data: DATA = "1< C>0:2< E>8.2*12(000000< E>0000<LF>"
I 1 (66118359) efr_uart_task warp_protocol_data: DATA = "kWh)<CR><LF>"
I 1 (66118369) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.2*12< 8>000000.0000*kVH< 8>< C><LF>"
I 1 (66118379) efr_uart_task warp_protocol_data: DATA = "1-0:2.8.2*14(00000 .0000*kWh)<CR><LF>"
I 1 (66118379) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8.2*15(000000.0000*kWH)< 8><LF>"
I 1 (66118399) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8.2<LF>"
I 1 (66118409) efr_uart_task warp_protocol_data: DATA = "16(000000.0000*kWh)< C><LF>"
I 1 (66118409) efr_uart_task warp_protocol_data: DATA = "1-0:2< E>8< E>2*17< 8>000000.0000*kWh)<CR><LF>"
I 1 (66118419) efr_uart_task warp_protocol_data: DATA = "1-0:0< E>2< E>2<LF>"
I 1 (66118439) efr_uart_task warp_protocol_data: DATA = "255(750101)<CR><LF>"
I 1 (66118439) efr_uart_task warp_protocol_data: DATA = "0-0:0.2< E>6*200(intErn)<CR><LF>"
I 1 (66118449) efr_uart_task warp_protocol_data: DATA = "1-0:C.1< E>6<LF>"
I 1 (66118459) efr_uart_task warp_protocol_data: DATA = "255(FC88< 8>< C><LF>"
I 1 (66118459) efr_uart_task warp_protocol_data: DATA = "1-0:C< E>6< E>3*200< 8>2.65<LF>"
I 1 (66118479) efr_uart_task warp_protocol_data: DATA = "V)<CR><LF>"
I 1 (66118489) efr_uart_task warp_protocol_data: DATA = "!<CR><LF>"
I 1 (66118489) efr_uart_task warp_protocol_data: DATA = "<ETX>s"
would you be able to start a small python Programm, that would be able to read the JSON (from the file system - or directly requesting this from your bridge) and find a LIB that is able to parse this IEC-62056-21 format?
I ask you this, cause without being able to "reproduce/create" any sample data here locally it will be very difficult for me to work in this remotely...
Here is some sample:
import aiohttp
import asyncio
import logging
from iec62056_21 import messages
_LOGGER = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG)
async def main():
async with aiohttp.ClientSession() as session:
ip = "192.168.200.2"
pwd = "PWD-HERE"
data = await session.get(f"http://admin:{pwd}@{ip}/data.json?node_id=1")
if data.status == 200:
print(f"{data}")
response = messages.AnswerDataMessage.from_bytes(data)
print(f"{response}")
async def main_local():
with open('data.json', 'rb') as file:
data = file.read()
print(f"{data}")
response = messages.AnswerDataMessage.from_bytes(data)
print(f"{response}")
asyncio.run(main())
Good morning @paule96 when you look at the post #29, the data looks way more plausible... so it might be worth starting to test, if reading head rotation would make things easier for you - take this post as reference: https://github.com/marq24/ha-tibber-pulse-local/issues/6#issuecomment-1791117188
I guess we need to put this issue to sleep for the next 3 weeks. Because I'm not at home. For now I switched the protocol.
... closed - no feedback
Checklist
Meter type? | check your http://[YOUR-PULSE-IP]/nodes/1/config
IEC-62056-21 (IR)
Output of the Tibber webfrontent data.json | check http://[YOUR-PULSE-IP]/nodes/1/data or http://[YOUR-PULSE-IP]/data.json?node_id=1
Integration DEBUG log
Any additional description
The log output looks weird. It seems to me like it can not connect. If I try the url
http://admin:[BRIDGE_PASSWORD]@[YOUR_IP]/data.json?node_id=1
with the correct password and IP I get the information above. but for some reason the HA extension has a problem to connect to the bridge.