There’s historical data and appliance data too… I’ve imvedded it into an iframe in Lovelace which works alright except I find the tool pretty useless because it doesn’t show cost. I’d really prefer having this data in Hass where I can make a decent useful visualization unlike these.
can you explain how you made the iframe in Lovelace?
What URL do I use?
Here you go. I put some graphs in the view called analyse. I wanted to give you a nice screenshot, but pro.smappee.net isn’t giving me any data right now, so I’ll wait till it gets it’s act together.
- title: Utility Costs
panel: true
icon: mdi:power-plug
cards:
- type: vertical-stack
cards:
- type: iframe
url: https://pro.smappee.net/analyse
aspect_ratio: 100%
I don’t really like the visualizations you can get from these dashboards. I’d really like something that compares current utilization to historical averages and shows me daily cost based on current usage (which is what I am doing with the watts sensor by applying my costs to it and rounding it off to the nearest ten Czech Koruna so it doesn’t change so much as below):
- platform: template
sensors:
current_rate_power_cost_per_day:
friendly_name: "Current Electricity Use"
unit_of_measurement: 'Kč/day'
value_template: "{{ ((states('sensor.power_consumption')|float * 0.01011816)|round())*10 }}"
Does anyone knows if with mqtt it is possible to have specific metering of every device (like the app)?
No, the MQTT only gives you the total watts of electricity, and I think you can control comfort plugs with it. That’s all. It also created so much traffic that is brought my pi 3b+ to it’s knees. It’s pretty crappy. I ended up disabling it again not long after I had enabled it.
Yep … the topic gets send every second. I did send a mail to Smappee to ask if there are any plans to extend the MQTT data. No answer yet.
For now i’m ok with the https://pro.smappee.net/analyse solution.
I asked them already and the answers weren’t good (quoted from a few posts up in the thread).
I’d suggest we all write them at [email protected] and let them know how we feel about making it so hard to access our data.
@hmn as I understood right the smappee component is now part of home assistant components. I tried to configure without API key and client secrets. I understood it should be able to use only the local web interface without API. Right? I was not able to configure the component right. The log file says “smappee componend skipt”. Has someone an example how to configure the component right in configuration.yaml for local use only (without api)? On the other hand I tried mqtt and was able to connect to the mosquitto broker but I am to stupid to setup the sensors right. I tried it also with the smappee switch but without success. Some examples would be also highly appreciated. I am thankful for any advice or hint but examples would be perfect.
I don’t believe there’s any way to access the local API of the smappee without MQTT… I believe you’d have to shell out the 60 EUR for the REST API for 2 years in order to use that component.
There are examples of sensors above for the MQTT component.
Thanks @scstraus I saw the two examples of mqtt handling but I am a noob in templating. I have now two sensor and want to extract the values but find no way how. I want to extract the voltage (235) and looking for a way to implement the smappee switch or extract the “ON”
Here my sensor configuration:
Any idea how to do or better way?
Actually, there is… kind of…
http:///gateway/apipublic/reportInstantaneousValues returns a whole lot of info (but you have to log in to the gateway first @ http:///smappee.html).
A few additional local API calls are described here.
@Obicom
What you’re looking for is:
host
(string)(Optional)Your Local Smappee unit IP.
host_password
(string)(Optional)Your Local Smappee password.
As described here. Omit the othere config parameters, only configure host and host_password (default is ‘admin’ is you haven’t changed it).
so is smappee as good as they telling you, is it really discovering all devices? or is it just marketing and overpriced?
Is a good product but there’s a lack of integration with HA. You can only see the current energy consumption while you still need to use the app to see the discovered devices.
Any interested in selling the solar version?
The appliance discovery is pretty worthless. I haven’t gotten it to recognize more than a couple lighting circuits reliably.
Ok , to high in costs then, solar version is about 350€
I suggest you to wait for shellys products.
My app discovered automatically my washer, my dryer, my dishwasher. Then I implemented other devices).