Open pumpagubben opened 1 year ago
This is great, would you mind making a PR of these changes? 👍
@pumpagubben are you able to make a pr for this? This is exactly what i am searching for as i also have a tibber pulse 😊 and does tibber work without external power? 😊
A small addition to the code will make the p1reader to repeat the signal to the TX pin. This enables additional devices to connect and use the p1 port and no need to buy a separate active r12 splitter.
The following is successfully implemented with a Tibber Pulse and a NodeMCU as p1reader/repeater:
Set TX pin to inverted p1reader.yaml:
In the p1reader.h add a line to write the received signal back to the uart_bus, add Serial.write(buffer); after the newline is put back:
Wiring for next device: Connect a new r12 port or cable and connect +5V, GND, Data_GND accordingly and Data_OUT is connected to ESP TX pin. Leave the Data_Request unconnected (at least Tibber Pulse will not process if this is pulled high).