JNSwanson / ESP-Home-iBoost

ESPHOME Marlec iboost integration
MIT License
20 stars 2 forks source link

Porting to a different radio? ttgolora32. ? #18

Open richardctrimble opened 2 months ago

richardctrimble commented 2 months ago

Hi I was thinking, would it be technically possible to port to a device like this? https://www.aliexpress.com/item/32872078587.html if I got the 868 version..

its nice with esp32 and built in screen? possibly over kill?

question if it is even worth trying?

Rich

JNSwanson commented 2 months ago

I have played around with these and the radios are LoRa specific. I have used a Lilygo T-PicoC3 as a MQTT monitor. I will publish the code if you are interested. image

richardctrimble commented 2 months ago

I was looking at them as I found this project https://docs.openmqttgateway.com/setitup/rf.html#protocols-modules-and-library that seems to be able to rtl_433 on it? but in recipe only, but im not sure why receive only mode. Is that direct to mqtt? I did a similar screen, but it's just esp home to home assistant so nothing that custom. or clever.

JNSwanson commented 2 months ago

RTL_433 only supports receive. The T-PicoC3 is a RP2040 and ESP32-C3 on the same board. The ESP supports the WiFi and the RP supports the display. They communicate serially via AT commands. It connects the the MQTT server on HA to get the data and display it. To get ESPHome devices to send to the MQTT server, you need to add this in the yaml file (but it is not in json format):

mqtt:
  topic_prefix: "iBoost"
  discovery: false
  broker: 192.168.0.30      <- address of the HA server
  port: 1883
  username: "mqtt_user"   <- you need to create this user on HA
  password: "yourPassword"
  discovery_prefix: homeassistant

Then use something like MQTT Explorer to look at the format. You obv. need to add the Mosquitto Broker as an add on in HA.