Open elngejw opened 1 year ago
To elaborate:
The meter is ISKRA AM550...I'm using the schematic below with the pull-up jumper installed. This was working fine with other code from Tasmota (see link) ...which delivers the complete telegram message in stead of a message per measurement.
And I managed to get the logging:
rll�r$�n�l�c|���rb�b�nnlnnbbp�$blrlp�n0�l�bn�n��b��nn'l�l�nn$
nr���nrr�p�nr�bbn�nb��nn'l
�nn$nr���nrl
r��nrl�l�rl
��n�`
Swapping UART0 RX to inverted Serial port is ready to recieve. read_eeprom()read_eeprom()read_eeprom()read_eeprom()read_eeprom()wm:[2] Added Parameter: host wm:[2] Added Parameter: port wm:[2] Added Parameter: user wm:[2] Added Parameter: pass wm:[1] AutoConnect wm:[2] Connecting as wifi client... wm:[2] setSTAConfig static ip not set, skipping wm:[1] Connecting to SAVED AP: xxxxxxxxxx wm:[1] connectTimeout not set, ESP waitForConnectResult... wm:[2] Connection result: WL_CONNECTED wm:[1] AutoConnect: SUCCESS wm:[2] Connected in 3879 ms *wm:[1] STA IP Address: 192.168.1.110 Connected to WIFI... Arduino OTA activated. Arduino OTA finished Starting MDNS responder service MQTT connecting to: 192.168.1.100:1883 MQTT connection attempt 1 / 10 ... MQTT connected! MQTT root topic: sensors/power/mqtt-p1
f���&&f�fͥM�=gifL�34d4��&�ffͥM�=gifLfff���&ffsfͥM�=gifL�ff����fMiS�gifL�ff�����fMiS�gifL�ff�����fMiS�gif̦ff����fs�&fMI�M�=gif̙ff����f��f���M�=gif̦ff����f���fMI�M�=giflfff����f���fMI�M�=gif̙34d4���f���fMI�M�=gif�fff����f���fMI�M�=ofdf��h[VZe�3Yee���&����:J�>F6F^>Z��>J>:F>F>^66::>�:::>"�Z��>J>&F:F:^�2>d>22.2>2>2222622&2��622262:���:J>:F�F:^>>:6�F>"VR�/Z��:J>:FF�^>>:�2F66VR�^Z�֝J>6FF:�>>:..F�6&VRQ^Z��:J>�FF6�>>2>�F22�VR�^���>J�&F�.F>^>>>6Z��:J�:F"�>�>>F..VR�Z��:J>�6F"F|^>>�>>>V)�Z��>J>&F�F6:^>>>>Z��>J>��F"�^>>>>2Z��:J>F"F>^:Z^>J>�F"F:Z^�:>T6:>&.>6�Z^>>>>>>>2:>V2Z�֝J>26F26�>^>>>>6Z��:J>6F26F�^>>>>tZ��:J�"6F26F>^>>>>2���:J>26F2&F>^>>>>:Z��:J>6F2&F>^>>>>6Z��:J>"6F2&F>^>��>:Z��>J�&F:2F>^Z��:�>26�"F>�622F6V�Z��:J>�6�"F>^62�F"V�Z��:�>"6�"F��626F.V�Z��:J>2:f�����fMiS֝J>�F"F>^>>�V�Z��:J>":F�F>^>�>V�Z��:J|6:F"F>^>>F.>6VR�Z��:J>.:F"F>^>>F>..VR�Z��:J>&:F"F>^>>F>>*VR�Z��:J>66F"F>^>>F>>>VR�Z��:J>.6F"F>^>>F>>>VR�Z��:J>&6F"F>^>>F>>>VR�Z��o.^e2y=h[VZe�3Yeeƕ��
SOLVED:
I found out that on my PCB the signal was already inverted. Therefore I canceled out the bold marked line below in _esp8266p1meter.ino
// Invert the RX serialport by setting a register value, this way the TX might continue normally allowing the serial monitor to read println's
**//USC0(UART0) = USC0(UART0) | BIT(UCRXI);**
Hi! Sorry for leaving you hanging there for a bit. But great to hear that you have solved your issue. Like you have said I think you pcb has a inverter set up at its Q1 component. I’m leaving this issue open for a bit and see if it might help some people.
Hi all,
After installing and succesfull hass/status/p1 meter alive it keeps all quiet....no measurements are sent to mqtt. Anybody knows where the problem might be? Is there a way to see any logging?
Many thanks for your help!!
Best regards,
Geert-Jan