Drinking enough water every day is important. This gadget helps to monitor your drinking behavior.
The project uses the following libraries:
The 3D model looks like this:
The file for printing the model can be found here: 3D model
The scale is connected as follows:
The firmware must be configured before flashing to ESP8266. Rename src/Firmware/Weighbridge/config-sample.h
to src/Firmware/Weighbridge/config.h
and change the values like desired.
This example must be added to the sensor
block of your configuration.
- platform: mqtt
state_topic: "/weighbridge/api/1/state/"
name: "Actual water consumption"
unit_of_measurement: 'ml'
value_template: "{{ value_json.consumed }}"
- platform: mqtt
state_topic: "/weighbridge/api/1/state/"
name: "Total water consumption"
unit_of_measurement: 'ml'
value_template: "{{ value_json.consumption }}"
- platform: mqtt
state_topic: "/snake/api/1/state/"
name: "The Score you reached in a game of snake"
unit_of_measurement: 'points'
value_template: "{{ value_json.score }}"
- platform: mqtt
state_topic: "/snake/api/1/state/"
name: "The Time you spend in the game"
unit_of_measurement: 'seconds'
value_template: "{{ value_json.time_played }}"