[APP][Pro] Homewizard 🧙‍♂️

I’ll keep it nice to you in response rather using your choice of words as above.

Maybe homey platform is not your flavor of Home automation.
Your problem is not in my code as I cant control mdns failures in any way that is either Homey firmware or your Meraki network.
Raise a support ticket to Athom and hope they can crack your failing mdns.

2 Likes

Hi,

Is is possible to have a card when device is offline.
so when a device has lost internet and is offline that we get notified?

Just saw that one socket has no internet for 2 days, and would be great we can setup something by flow

Hi Bartj,

Homey had an internal card just for that purpose but they removed it, mine got broken as well. But there is caveat to your request, I cant see from the device locally if it is able to uploads its data to the cloud. So locally it can work all fine (local api interface of socket) and this internal card would not trigger at all. Problem stays we have no access to Homewizard Energy cloud platform to validate its last update/state/successfull sync.

1 Like

By making a flow for getting to maximum and minimum voltage for the day with the P1 device I had some problems.

The value of P1 change every 10 seconds. That I get from the device of P1 made on Dashboard.


On the left is it project what’s giving the problem.

The flows.

It seem that the red outlined cards the flow not started. Only by using the arrow on the cart.
First I had only the max and mini flow but I had to rested those values because they where not chance any more if we where between them…

The actuele voltage flow is also not working.
Using the timer flow then it’s OK.
The info on the timeline carts let me see that only the ET ( Every Time) carts where giving end of flow.

Very strange now.
Waiting till the timer the 5 minutes mark has past do to a test, is there a timestamp by the minimum temperature flow.
But still not the from “now” flow.

Test started with the first flow(23:59).
Result:
Min and max Volt was working.
‘Now’ Volt still not.
Time flow now out. Waiting.



Now the “Date & Time 5 minutes card” is free of the rest of that flow.
The values set to the start of the day, 200 and 250 .
Nothing is working now.

This is a very nasty problem to find-out.

Edit

Some extra informatie.

There was NO data of the red outlined cards the hole night.
When I connected the “Every 10 minutes card” again and saved it then those cards starting to work as well.

K 239 ↑

apr. 21 2024 09:53:57

K 238 ↑

4 minuten geleden

ET200V 237 =

4 minuten geleden

ET 237 ↓

4 minuten geleden

ET 237 ↑

4 minuten geleden

21-04-2024 09:43 min & max V reset

11 minuten geleden

K 239 ↑

The ET are the “Elke 10 minuten” (Every 10 minutes) card.
The K is the “Kaart”( card).
The 3x ET after reset bringing all the variables to same value.
K 238 ↑ makes the maximum to that value.

After disconnecting the ET card from the flow and save that and reset the values, again nothing.

Hi Theo,

First of all these trigger cards are created automatically based on the code used and aint custom cards I control inside my code. Further with the knowledge I have of these type if cards they only trigger once if the condition was met, which is what you want and expect but I tested with my kwh meter (my P1 has no voltage due to v4 smart meter).

Best result I get is adding extra layer in front if those 3 cards you used with this card and then a logic check with your required condition.

But I do feel there is a bug on these cards that must be raised with Athom dev team.

1 Like

After finish my edit I looked for that card.

This is my list:

Huidige Voltage fase 1 is to only one that I have for this.

Does your p1 have volt info? Check tools site and search device there?

https://tools.developer.homey.app/tools/devices

Everything is working when I used the Date & Time card with “Every xx quantity”.

So when I set it to “Every 10 seconds” I get the results that my P1 show what is possible.
See 1st picture of my post 1399.

So your P1 has no “Het voltage is veranderd” trigger card?

Correct, here no “Het voltage is veranderd” trigger card

For the moment I think that I get 99% what I was looking for.

The tip to do “in front if those 3 cards” I have move a part of that time control flow.

One problem is the fact that they have only “greater or smaller” therms.
By “equal” go’s it wrong. That is near the vax & min voltage for the “now” voltage.

Also by ever flow edit I have to reset first all to get the main flow working.
For the rest of the day I want do nothing further after disconnect the timeline notificatie.
Watching I can do on an other spot.

Hopefully it working to morrow because at 00:00 the reset is coming in.

Maybe an other Homewizard device that sources that voltage and not your P1?

Further here only sockets but they have voltage meting.

I’ll check my code on this maybe I am skipping a check for voltage for L1 for P1. Will get back to you.

2 Likes

Those trigger cards are not reliable, so I now use this now:

The 10 seconds are not synchrone but that is not a problem at all.
If the “now” is not changed then nothing is happend.
Also Mini & Maxi Voltage are not often used.
The pressure on the system, I think, is less high then 4 trigger card on the same time.

Yeah Homey time or clock internally has been a problem before when people rely on an exact time. About “now” I cant relate yet. Need to dig de P1 code to verify what goes on there. Is it my code or a generic “Homey” firmware problem.

Thank you very much for looking in to it.

After a few minutes the P1 trigger cards stopped working.
That’s why I switched to my 2nd solution.
With testing if action is needed to overcome unnecessary pressure on Homey.

Well code is there so trigger card should work but I recon your problem is more of a Homey misbehavior then.

 # L1 voltage
      if (data.active_voltage_l1_v !== undefined) {
        if (!this.hasCapability('measure_voltage.l1')) {
          promises.push(this.addCapability('measure_voltage.l1').catch(this.error));
      }
      if (this.getCapabilityValue('measure_voltage.l1') != data.active_voltage_l1_v)
      promises.push(this.setCapabilityValue("measure_voltage.l1", data.active_voltage_l1_v).catch(this.error));
      }
      else if ((data.active_voltage_l1_v == undefined) && (this.hasCapability('measure_voltage.l1'))) {
        promises.push(this.removeCapability('measure_voltage.l1').catch(this.error));
      }
1 Like

I just installed my P1 to our meter. Problem is that meter is outside of Homeys WIFI. And I have separate wifi for it. Are you planning to add feature that data would be fetched from the cloud instead of local P1 device?

Hi Joni, there is no plan for supporting cloud as Homewizard has no details or allows 3rd party development to access their cloud interface. So the only option we are allowed is Local API and that is what this app supports.

1 Like

I have the same problem. Do you know what we can do about it? Like to do the same as theo