Shelly Uni MQTT send intervall

  • Dear Alll,

    i have a Shelly Uni connected to my MQTT-Broker to send / receive the ADC values and Temperature of and ds18b20 sensor. But the device sends a message for every value change. So my question is, is it possible to define an send interval, like 60seconds to reduce the data traffic.

    Furthermore it would be great to define the data structure because i do not need the temp value in degree and Fahrenheit, i can do the conversion in the backend.

    Traffic is very important because the shelly is connected to an LTE router with an M2M IoT SIM with very low volume.


    Regards

    Jan

    Einmal editiert, zuletzt von Jan Burkhardt (14. März 2023 um 09:49)

  • MQTT Update interval in general can be changed via REST-API: (30 is seconds in this example). But I'm note sure if this affects also value changes or just status updates.

    http://<shelly-uni-ip-address>/settings?mqtt_update_period=30

    The MQTT data structure is predefined for the entire device line (Gen 1 devices), so removing Fahrenheit is not possible.

    Have you considered using Shelly H&T with USB-Power-Supply instead of the UNI? due to the DeepSleep the device is reporting every 10 minutes at max and there's a configrable temperature threshold which also can reduce the reporting interval.

    >100 Shellies, darunter so gut wie alles was der Hersteller produziert hat. ;)
    :!: ich beantworte grundsätzlich keine Fragen per persönlicher Nachricht:!:

  • Thanks for the reply. I already tested the "mqtt_update_period=30" but it seems, that this value do not affect the update period of the ADC value changes and this happens quite often because we are measuring the voltage of a supply battery.

    The Shelly H&T is more a consumer product and not the right fit for our application.

    4 Mal editiert, zuletzt von Jan Burkhardt (15. März 2023 um 12:05)