New integration: Energy monitoring device Circutor Wibeee


#21

Thank you very much Juan Sanz, I can confirm that the mirubee moti-1 monophasic version works perfectly with Oscar’s modification. You can make very interesting automations thanks to your work.

mirubee moti-1

<response>

<fase1_vrms>236.38</fase1_vrms>

<fase1_irms>1.94</fase1_irms>

<fase1_p_aparent>457.63</fase1_p_aparent>

<fase1_p_activa>294.40</fase1_p_activa>

<fase1_p_reactiva_ind>0.00</fase1_p_reactiva_ind>

<fase1_p_reactiva_cap>343.96</fase1_p_reactiva_cap>

<fase1_frecuencia>50.00</fase1_frecuencia>

<fase1_factor_potencia>0.643</fase1_factor_potencia>

<fase1_energia_activa>695852.02</fase1_energia_activa>

<fase1_energia_reactiva_ind>24519.91</fase1_energia_reactiva_ind>

<fase1_energia_reactiva_cap>559479.55</fase1_energia_reactiva_cap>

<fase2_vrms>0.00</fase2_vrms>

<fase2_irms>0.00</fase2_irms>

<fase2_p_aparent>0.00</fase2_p_aparent>

<fase2_p_activa>0.00</fase2_p_activa>

<fase2_p_reactiva_ind>0.00</fase2_p_reactiva_ind>

<fase2_p_reactiva_cap>0.00</fase2_p_reactiva_cap>

<fase2_frecuencia>0.00</fase2_frecuencia>

<fase2_factor_potencia>0.000</fase2_factor_potencia>

<fase2_energia_activa>0.00</fase2_energia_activa>

<fase2_energia_reactiva_ind>0.00</fase2_energia_reactiva_ind>

<fase2_energia_reactiva_cap>0.00</fase2_energia_reactiva_cap>

<fase3_vrms>0.00</fase3_vrms>

<fase3_irms>0.00</fase3_irms>

<fase3_p_aparent>0.00</fase3_p_aparent>

<fase3_p_activa>0.00</fase3_p_activa>

<fase3_p_reactiva_ind>0.00</fase3_p_reactiva_ind>

<fase3_p_reactiva_cap>0.00</fase3_p_reactiva_cap>

<fase3_frecuencia>0.00</fase3_frecuencia>

<fase3_factor_potencia>0.000</fase3_factor_potencia>

<fase3_energia_activa>0.00</fase3_energia_activa>

<fase3_energia_reactiva_ind>0.00</fase3_energia_reactiva_ind>

<fase3_energia_reactiva_cap>0.00</fase3_energia_reactiva_cap>

<fase4_vrms>0.00</fase4_vrms>

<fase4_irms>0.00</fase4_irms>

<fase4_p_aparent>0.00</fase4_p_aparent>

<fase4_p_activa>0.00</fase4_p_activa>

<fase4_p_reactiva_ind>0.00</fase4_p_reactiva_ind>

<fase4_p_reactiva_cap>0.00</fase4_p_reactiva_cap>

<fase4_frecuencia>0.00</fase4_frecuencia>

<fase4_factor_potencia>0.000</fase4_factor_potencia>

<fase4_energia_activa>0.00</fase4_energia_activa>

<fase4_energia_reactiva_ind>0.00</fase4_energia_reactiva_ind>

<fase4_energia_reactiva_cap>0.00</fase4_energia_reactiva_cap>

<coilStatus/>

<scale>65</scale>

</response>


#22

Error while setting up platform wibeee Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform SLOW_SETUP_MAX_WAIT, loop=hass.loop) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for return fut.result() File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/wibeee/sensor.py", line 77, in setup_platform sensor_phase,sensor_name = item.tag.split("_",1) ValueError: not enough values to unpack (expected 2, got 1)


#23

I recommend you to call directly REST API and check if response is similar to the one i posted. Also check csrp post, they have a different response format, and for that, they have done some modifications.

Or even better, compare your response with the ones I documented in github repo:


#24

Hola Juanjo
Would it be posible to adapt the Mirubee component to new HA custom components structure (HA 0.88+) ?