Decode 433MHz thermoter repsonses with LUA

Moderator: Telldus

Post Reply
Icarus
Posts: 1
Joined: Fri Mar 17, 2023 9:45 am

Decode 433MHz thermoter repsonses with LUA

Post by Icarus »

Hi!

I am trying to write my first LUA script to log all my 433MHz thermometers responses (primarily the time they responded) and, by the number of missing responses, decide if some units are running out of battery.

I'm able to receive several frames but don't know how to decode received data (Wich unit sends what frame)!

PLS help!
Any suggestions,ideés, or other hints to solve this?


With best regards
Joakim
etompau
Posts: 2405
Joined: Fri Mar 17, 2023 9:45 am
Location: Skåne

Re: Decode 433MHz thermoter repsonses with LUA

Post by etompau »

Don't know if you can understand Swedish, but in a Swedish Facebook group (Vi som använder telldus Live) a few LUA examples/programs have been published.
One seems to match your requirements. See program description below.

-- Description:
--
-- This script gives you the possibility to get a warning (a device that
-- is turned on) whenever a sensor has not reported for a selectable period
-- of time, or whenever a device has not changed state for a selectable
-- period of time. This warning can be used (in the Live interface) to trigger
-- appropriate actions, just like any other device can. Send a mail, a push
-- notification, or turn on the a light somewhere, to let you know that a
-- sensor is not reporting.
Post Reply