Closed fabir-git closed 3 years ago
I guess you are confused about what this code does. A gateway does not send sensor measurements. If you need a door sensor that sends info over MQTT, this is not the project you are looking for.
I added a local temperature sensor to read esp32 own temperature because in my installation it was getting a bit hot during summer. But this is a particular use case and in general a gateway does not have any sensor attached.
You can use dash button node example to see how you can use EnigmaIOT over ESP-NOW to send messages to gateway. Then, it will convert those messages to MQTT with topic: "
YOU DON'T NEED TO MODIFY GATEWAY CODE AT ALL.
Feel free to ask anything else or reopen the issue if you think I did not understood your message.
Hey, first of all I like your work very much. Thank your for making this public. At the moment I am trying to switch my sensor network from ESPHome to EnigmaIOT. My gateway has a reed contact soldered to it, so i changed your example code in order to substitute the temp sensor with the reed contact (Message should be sent on state change).
I`d really like to get this protocol running in the HomeAssistant Community as it is very nice for battery powered devices.
Here is my EnigmaIOTGatewayMQTTReed.ino:
Now I have a few problems/questions: