Smappee custom component

Here are my 2 sensors, one to show total watts of power being consumed and one to show cost per day estimate (in realtime). I don’t know how the switches work, I never used them, but this is the only useful information you can get out of this crappy MQTT server.

From what I can see, your watt sensor should work. Other power usage data, I believe will prove to be useless.

  - platform: mqtt
    name: "Power Consumption"
    state_topic: !secret smappee_state_topic
    unit_of_measurement: "W"
    value_template: "{{value_json.totalPower}}"
    icon: mdi:power-plug

  - 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 }}"

1 Like

Shelly product? What’s that?

This is the vendor

https://shelly.cloud/

Soon they will sell a product to have the same results as smappee (but without the dicovery part).

Ah, interesting, also with clamps?

Yes. The CEO shared a photo during CES. The product is in develpoment.

Cool, do you already know how your products is going to be named?

Curious how to discover or identity devices without a discovery

CES’2019:
SHELLY EM and Shelly 3EM is the one phase and 3 phase energy meter.
Features:

  • Wi-Fi enabled
  • up to 120Amps precise energy meter
  • MQTT support
  • Rest API
  • Internal memory for more than 100 years
  • Battery backup
  • one and three phase option
  • electricity cost calculation
  • detailed report CSV download option
  • low cost solution

Commercial launch: 15. March

1 Like

Thnx for info

You’re welcome.

Good to have options that are hopefully more open than Smappee.

Thank you for the example … It got now Power, ReactivePower, Voltage … but I found a bug of my hassio (0.86.4) … if I set the option “name: xxx” in my configuration the sensor is gone without any error … without a name value it works fine. Wondering that it works in your config.

smapee2

I can also show the status of the Smappee switch but not able to control.

And hopefully with a good price…
Still wanna know how is Shelly going to configure devices without discovery… We will find out soon

name: worked on mine before I deactivated the Smappee MQTT component on 0.84.6.

If you’re looking for something without the device discovery, take a look at https://openenergymonitor.org/

1 Like

I don’t see the point to invest for an energy monitor without device discovery??? What’s the advantage??? I can easy read it on the meter itself

The point is that smappee device discovery doesn’t really work either so why pay for it… Probably best just to have smart switches that give you energy usage instead.

indeed, thnx for info :slight_smile:

I was able to get the smappee integration to work, however I dont see any entities in the entity register. I had to look in the debug log to find out the entity_id of the smappee sensors

There must be a better way?

Do you have an example configuration for setting up this card?