Offline mode (no cloud)
The Gasleser can be used not only via the cloud and the Stromleser app, but also completely locally without any cloud connection. This operating mode is primarily aimed at Home Assistant users or other MQTT‑based smart home systems.
In offline mode:
- the Gasleser continues to send readings locally via MQTT (e.g. to Home Assistant)
- the local web interface remains accessible via the device IP in your home network
- the local API stays available
- no data is sent to the cloud
Offline mode is best suited if you record your gas data yourself in Home Assistant or another system and do not need a cloud history.
Prerequisites
Before enabling offline mode, you should:
- have set up the Gasleser normally via the app (including the initial cloud connection)
- have connected the Gasleser to your MQTT broker / Home Assistant
- know the IP address of your Gasleser in your home network
- e.g. from your router's device list or from the app
What still works in offline mode?
Even without cloud connection, the Gasleser continues to run and provide data:
MQTT / Home Assistant
- All readings are still sent locally via MQTT.
- Your Home Assistant (or other MQTT‑based system) can receive and record these values as usual.
Local web interface
- The web UI at
http://<gasleser-ip>/remains fully accessible. - Here you can, for example, use Recalibrate Total & Multiplier to adjust the counter value and multiplier.
Local API
- The Gasleser local API stays available and can still be queried from your network.
What no longer works?
When the cloud connection is disabled:
No cloud history
- The Stromleser app will no longer have cloud‑based history data.
- You need to record history yourself, e.g. in Home Assistant.
Limited app usage
- While on your home Wi‑Fi you often still see the last known value in the app,
but when you leave Wi‑Fi, values are no longer updated. - The online indicator disappears in the app.
No OTA updates
- Firmware updates via the cloud are not possible in offline mode.
- To update the device, temporarily re‑enable the cloud connection.
Possible total rollback after power loss
- The web interface shows a note:
If power is cut off, the total may fall back to an older value due to limited memory on the device. The backup is saved periodically, not on every pulse.
- This means that after a prolonged power outage, the internally stored total reading may fall back to an older value.
After a longer power cut, compare the total shown in the web interface with the value on your physical gas meter. If necessary, correct the counter via Recalibrate Total & Multiplier.
Re‑enabling the cloud connection
You can switch back to normal cloud operation at any time. For detailed instructions, see the Re-enable cloud connection page.
Best practices for offline mode
-
Use it only if you have your own logging system
- e.g. Home Assistant with long‑term history.
-
Regularly compare meter readings
- especially after power outages.
-
Temporarily enable the cloud when needed
- e.g. for firmware updates or when you want to use the app with full functionality again.
With this setup you get the best of both worlds:
Local control and data ownership via Home Assistant / MQTT – with the option to re‑enable the cloud whenever you need it.