how to use two mailbox-sensors #32
Replies: 4 comments 10 replies
-
Hi, you can ask as many questions as you want 😊 Don't forget to add a manual sensor mqtt:
sensor:
- name: "LoRa_Code"
state_topic: "LoRa-Gateway/Code"
- name: "LoRa_RSSI"
state_topic: "LoRa-Gateway/RSSI" |
Beta Was this translation helpful? Give feedback.
-
thats cool thanks. so to be sure, I use the LoRa_Gateway_MQTT_Simple and put in the ssid, password, mqtt_username, mqtt_password, mqtt_server and mqtt_port. on the sensor I use Mailbox_Guard_Sensor.ino I put in the NewMailCode, LowBatteryCode and define the band. the NewMailCode and LowBatteryCode must be different for both sensors. thats it? I dont have to change the sync-word or something else than above? finally i add the manual sensors in HA. |
Beta Was this translation helpful? Give feedback.
-
that's it if it not will be triggered at the same time. |
Beta Was this translation helpful? Give feedback.
-
I configured testwise my existing mailbox-sensor with Mailbox_Guard_Sensor.ino and the gateway with LoRa_Gateway_MQTT_Simple. It works fine so far, whenever the PIR detects motion, I get the code 0xA2B2. This code stays until I publish a message to LoRa-Gateway/Code, for example 0xLBAT. When the mailbox-sensor starts from scratch (removing and adding battery) the code is 0xLBAT. question: 0xLBAT means low battery. How is that being measured? The battery is fully charged and I also replaced it with another fully charged 14500 3.7V battery. Is it possible to implement the battery in percent as it is with the Auto-MQTT sketches? My goal is to know the batterys state in order to know when I have to replace or charge it. |
Beta Was this translation helpful? Give feedback.
-
Hi there
sorry for asking so many questions :P I recently installed a mailbox-sensor and would like to install another one. The mail and parcels are in separated departements inside my mailbox. How can I "pair" both to the Lora-gateway?
Can I use the same arduino-sketch for the second mailbox-sensor and the sensor just appears in HA as a second one? If not, what is the way operate two mailbox-sensors with one gateway?
environment
Home Assistant supervised
mailbox-sensor with Auto-MQTT discovery sketch
Lora-gateway with Auto-MQTT discovery sketch
thanks for the clarification
Beta Was this translation helpful? Give feedback.
All reactions