dont see what is supposed to have been remedied? Propane is LPG
I can get the results by switching 12.4 to 3.2 in the template page, but how do i save the template as a sensor?
just got my horizontal stack layout perfected. now to create 2 more sensors and all is well. Tanks a lot!
Looks great, Iâm happy you were able to get it up and running.
The company has been very responsive. Would be happy to make an intro to anyone who would like on this thread.
Apparently they stocked out back in April, and now theyâre back to being listed on Amazon and on their website.
Theyâve been making constant updates to the app too which has been getting increasingly better.
Thanks! I wish them well.
Iâm still hung up on the âlifetime cellular data subscriptionâ thing. Just something Iâve never heard of before. At the rate technology changes and companies come and go, it seems a very hard promise to keep.
Good Day LiQuid_cOOled
With reference to your statement below:
[quote=âLiQuid_cOOled, post:21, topic:315215â]
I use the Mopeka monitoring system with their WiFi bridge and found it to be a solid addition to my HA.
I built a custom:button-card
where the color and gas level are reflected in the icon.
How do you integrate the Mopeka Wifi Bridge into Home assistant? There are a number of posts in other discussions stating that it is not possible due to the bridge using a proprietary protocol.
So I bit the bullet and bought the tank monitor from Centri on amazon for my burred 1000 gal tank. I canât speak to the long term with the no recurring fees for the lifetime of the product.
I did reach out for help with integrating their product into HA (Apparently no one has reached out to them before to do this). I ended getting in contact with Nick. He suggested integrating through Rest API which after a few emails back and forth I was able to get the data into HA without much trouble using the RESTful integration. Below is the Yaml entry I made for the sensor.
You will need to contact support to get your Device ID, User ID, and Device Authentication Code.
sensor:
- platform: rest
name: "CentriConnect Sensor Tank Level"
resource: "https://api.centriconnect.com/centriconnect/YOUR_DEVICE_ID/device/YOUR_USER_ID/all-data"
method: GET
params:
device_auth: "YOUR_DEVICE_AUTH"
headers:
Content-Type: application/json
value_template: "{{ value_json ['YOUR_DEVICE_ID'] ['TankLevel'] }}" # Adjust 'data_key' based on the API response
scan_interval: 20000 # Optional, adjust the polling frequency (in seconds)
unit_of_measurement: "%"
Edit: Other useful sensor information you can get from the API. Nick even gave me thresh holds for the following
-
LTE Signal
-140db or less is no signal
-115 to -140db is poor signal
-115 to -100db is average signal
-90 to -100 db is good signal
-90db + is great signal -
Solar Voltage
1.5 Volts or less is discharging
1.5 to 1.65 Volts is neutral (not charging or discharging)
1.65 V or more is charging -
Battery Voltage
3.5V (low end / empty battery) and 4.1V (high end / full battery)
Well done @jjthejet - curious to know how youâre going to map the solar volts / battery volts, and other items. Would be neat to see on your dashboard.
Thanks for your write up.
In the example the DeviceID and UserID are reversed⌠So it wonât work.
I wanted to read all the values so I expanded the example. It still only makes one server call as CentriConnect is limited calls to 4 times a day to match up with how often the MyPropane device uploads to CentriConnect servers. Trying to contact more often will not get results more often and puts more load on the servers than is necessary.
Here is my example.
This information goes into configuration.yaml.
#configuration for "mypropane" from "CentriConnect"
rest:
scan_interval: 21600 #Every 6 hours as limited by CentriConnect
resource: "https://api.centriconnect.com/centriconnect/UserID_goes_here/device/DeviceID_goes_here/all-data"
method: GET
params:
device_auth: âDeviceAuth_goes_here"
sensor:
- name: "MyPropane Level"
value_template: "{{ value_json ['DeviceID_goes_here'] ['TankLevel'] | round(0) }}"
unit_of_measurement: "%"
- name: "MyPropane Next Time"
value_template: "{{ value_json ['DeviceID_goes_here'] ['NextPostTimeIso'] }}"
- name: "MyPropane Last Time"
value_template: "{{ value_json ['DeviceID_goes_here'] ['LastPostTimeIso'] }}"
- name: "MyPropane Battery Volts"
value_template: "{{ value_json ['DeviceID_goes_here'] ['BatteryVolts'] | round(2) }}"
unit_of_measurement: "V"
- name: "MyPropane Solar Volts"
value_template: "{{ value_json ['DeviceID_goes_here'] ['SolarVolts'] | round(2)}}"
unit_of_measurement: "V"
- name: "MyPropane Alert Status"
value_template: "{{ value_json ['DeviceID_goes_here'] ['AlertStatus'] }}"
- name: "MyPropane Signal Quality"
value_template: "{{ value_json ['DeviceID_goes_here'] ['SignalQualLTE'] | round(2) }}"
unit_of_measurement: "dB"
- name: "MyPropane Tank Size"
value_template: "{{ value_json ['DeviceID_goes_here'] ['TankSize'] }}"
unit_of_measurement: "Gallons"
- name: "MyPropane Name"
value_template: "{{ value_json ['DeviceID_goes_here'] ['DeviceName'] }}"
- name: "MyPropane Altitude"
value_template: "{{ value_json ['DeviceID_goes_here'] ['Altitude'] | round(2) }}"
unit_of_measurement: "Meters"