skxc
(skxc)
August 27, 2023, 8:14am
1
Hello, I’m trying to set up some LYWSD03MMC sensors, my setup being:
Home Assistant running on a server / hyper-v
TheengsGateway running on a RPI Zero W
I’ve got Mosquitto set up on the HA machine and the RPI/TheengsGateway sending data. Data received in the broker currently looks like this:
{
"servicedatauuid": "fe95",
"servicedata": "30585b0506307a6a38c1a408",
"name": "LYWSD03MMC",
"id": "A4:C1:38:6A:7A:30",
"rssi": -42,
}
I understood I need a bind key for the Xiaomi sensor, grabbed it using - Telink Flasher , but I have no ideea where to add it. Any clue?
koying
(Chris B)
August 27, 2023, 8:46am
2
Actually, I think the Theengs only supports unencrypted payloads, through the telink custom firmware (ATC) or another one (PVX?).
skxc
(skxc)
August 27, 2023, 9:46am
3
Thank you!
Flashed the firmware here - Releases · atc1441/ATC_MiThermometer · GitHub , reporting fine now.
koying
(Chris B)
August 27, 2023, 9:50am
4
Not really sure what’s your use case, but keep in mind the LYWSD03MMC is supported natively by HA, as soon as you have a bluetooth config.
skxc
(skxc)
August 27, 2023, 9:55am
5
Hyper-V doesn’t have USB support so I can’t attach a bluetooth interface. Might move to something that does it’s getting a bit complicated without one.
pcwii
(Pcwii)
August 27, 2023, 9:57am
6
I have 6 of these things all running the pvvx firmware, never had a problem with them. I should get around to changing a few batteries though, thanks for reminding me.
koying
(Chris B)
August 27, 2023, 9:58am
7
Easiest way to get BT is to flash a $5 esp32 with ESPHome bluetooth proxy.
Communication is IP between HA and proxy, so no Hyper-V limitations
2 Likes
skxc
(skxc)
August 27, 2023, 10:01am
8
Well, that seems much simpler. Ordering one
Thanks again!
PVVX encryption to be supported by Theengs gateway in the next release:
theengs:development
← theengs:add_pvvx_encrypted
opened 05:02PM - 07 Jul 23 UTC
## Description:
Adds support for encrypted PVVX advertisements for the LYWSD0… 3MMC.
## Checklist:
- [X] The pull request is done against the latest development branch
- [X] Only one feature/fix was added per PR and the code change compiles without warnings
- [X] I accept the [DCO](https://github.com/theengs/gateway/blob/development/docs/participate/development.md#developer-certificate-of-origin).
1 Like