Pool control with Fibaro Smart Implant

Hi @Odysee , so I assume that the first problem of the meshbot not running when the temp < 20 is solved ?
and can we confirm now you have two problems ?

  • Notifications not sent when the comparison value is OFF, and sent both when the comparison value is ON
  • Want to display the last Meshbot ran time. (Can be done in Meshbot listing page ?)
1 Like

That’s right. I can no longer reproduce the first problem at the moment. The problem with the notifications is reproducible. The “last run” feature in the MeshBots would be helpful to isolate problems.

I adjusted the MeshBots a bit. Instead of “after” I chose “at a time of the day” because the MeshBot kept starting up with “after”. I also added a notification to check whether the right MeshBot is running at the right time (it will be removed again when everything is verified).

When creating the notifications, I had an idea for a feature that could be added:
How about adding things like Expressions to the text?

Hi @Odysee glad you figured out a solution, But the meshbot with “after” option should run only once , can u isolate the situation where it runs more than once ?
Also can you give more detail on your feature suggestion about adding expressions to the text ? Is it notification text? do you mean the result of the expression ?

Some days ago the pool pump turned on/of almost every hour. For example at 2022/06/17 11:55 pm I got the message that the pool pump turned on (later I expanded the MeshBots with the text of the MeshBots name). No one was in the garden at this time and at the moment I’m the only one that can turn it on/off from the app.

When I have time I can configure some MeshBots to see if I can reproduce this behavior.

The feature suggestion with the expression in the notifications could look like this:

---------------------------Text------------------------------
Pool pump turned on.
The pools temperature is %pool_temp% °C
The solar heating temperature is %solar_temp% °C

So you can place a current variable/expression/value of a device in the text.

The following scene turned on the pool pump but I didn’t receive a notification. Maybe you want to look at the log files (2022/06/23 3:00 pm German time).

Hi @Odysee

Thank you, I’ll take a look.

I have another error here regarding the notifications. Two notifications should arrive. First, I have a MeshBot that turns on the pump at 7:00 AM, which also sends a notification that it’s running. I received this message this morning. But I also have another MeshBot that just informs when the pump has been switched on:

I did not receive this message. Can it be that the error occurs when two notifications are triggered at the same time, only one of them gets through?

Time of error: 2022/06/24 7:00 AM German time

Hi @Odysee ,

I’ll send you an email with some log information about the notification events at 3 PM on 23/06/2022.

Best.

Is this feature already rolled out? Can we create a single MeshBot for the different temperature value cases?

I could imagine the following:

  • At 7:00 am
    • turn on pool pump
      • If pool temperature < 20°C then turn pool pump off after 2 hours
      • If pool temperature between 20°C and 25°C then turn pool pump off after 2.5 hours
      • If pool temperature between 25°C and 30°C then turn pool pump off after 3 hours
      • If pool temperature between > 30°C then turn pool pump off after 3.5 hours

Maybe it can still be built in such a way that two conditions do not apply at the same time. I think I had the case some time ago that the pool temperature was exactly 25,00°C so that two scenes ran at the same time and the pool pump didn’t turn off at all (even if I can’t explain it logically).

I think it should look like this:

  • If temperature < 20°C then …
  • If temperature is >= 20°C and < 25°C then…
  • If temperature is >= 25°C and < 30°C then…
  • If temperature is >= 30°C then…

Hi @Odysee Yes the exceptions feature is already alive. You can check this

You can create a separate exception for each of the actions you want to execute.
After your login problem is solved you should try and please let us know your feedback .

I’m not able to add another exception to a second action:
Animation

Hi @Odysee ,

We were able to replicate this issue. It seems to be affecting only device-related exceptions to the second action (it’s not happening if the first action doesn’t have an exception).

I already escalated this situation.

Thank you for the report! We really appreciate it.

I made another observation that I can’t explain:

Yesterday the control of the solar pump did not work as it should. I programmed it so that the pump starts when the solar water temperature is more than 3°C higher than the pool water temperature and switches off again when the difference is less than 2°C.

The solar water temperature rose to 50°C and the pump did not switch on. So I started it manually. Later in the evening the solar water temperature was lower than the pool water temperature and the pump kept running. So I manually turned it off again.

Today it seems to be working correctly again, but reliability is different. Also the whole thing no longer seems to regulate correctly once you have switched it on or off manually. So e.g. B. as follows:

MeshBot:
If A > B then turn on C.

A = 3; B =1 → C is on

Now if you turn off C manually, it stays off, even though A is still larger than B. I would now expect that it shouldn’t be possible to turn off C manually when it’s controlled by a MeshBot.

Any news on this? Just now I had this phenomenon again that the solarwater pump didn’t turn on even if the solarwater temperature was much higher than the poolwater temperature:

image

Unfortunately I have no way of investigating this further. It would be helpful if there would be some kind of “last run” time in the MeshBot Automation menu. Then I could see if this happens because the scene didn’t run (a kind of simple logfile accessible via the web frontend would also help to see, when which scene run, which switch is switched or which sensor is tripped).

Either the MeshBot was not started, the command was not sent or the command was sent but did not arrive/was not executed. Unfortunately, it is difficult to pinpoint that as an end user.

In the other case, when the status has been changed manually and the triggers no longer work, there must be a solution.

Hi Odysee

I’m sorry I don’t have any further input on your issues, but maybe testing with some virtual devices will help you with troubleshooting. This won’t solve your real pump issues, but it may bring you closer to finding out if this is a mechanical/device problem, or some logic issue.

  • Go to Ezlo API Tool
  • Log in with your same ezlogic/vera UN/PW
  • Select your desired controller then click ‘connect’
  • ‘Commands’ field - select ‘Custom’.
  • Paste the following in the text field that appears below:

{
“method”: “extensions.plugin.run”,
“id”: “ID”,
“params”: {
“script”: “HUB:test_plugin/scripts/generate_devices”,
“scriptParams”: {
“device_type”: “plug_interior”,
“devices_count”: 5
}
}
}

  • This will create 5 simple virtual switches in your ‘Devices’ area. They will also appear on your dynamic dashboard.

  • You can change “devices_count”= to whatever you want. I just suggested 5 so you have some spares to play with later.

  • Go to the ‘Devices’ area and rename one of the virtual devices as, for example, ‘Solarpump-Virtual’. You can now select this in meshbots as normal.

  • Create mirror-meshbots with the exact same triggers as your real meshbots but use the virtual device in the actions instead. See if the same errors occur. You can see the status of the virtual device on the dashboard. For example, what happens when you manually switch the (virtual) pump on or off.

  • The virtual devices will also let you test various scenarios that might happen without waiting for real-world events. For example, you can create variables ‘poolwasser-temp-test’ and ‘solarwasser-temp-test’ and set their values to whatever you want.

Again, apologies for not offering a solution to your real-world issue. I just thought this would give you another avenue for investigation.

Thanks

Paul

I’ve tried sending this code but get an error “Something went wrong”.

Looks like the html editor on this forum interprets two underscores around text as italics (which I didn’t notice). Try specifying the “id” field as shown on this image.

Apart from the plug_interior (aka, a simple switch), there’s also a range of different virtual devices you can test with. You can see a full list at https://developer.mios.com/api/hub/plugins/test-plugins/public-scripts/scripts-generate_devices/ (click the ‘Supported device types’ tab).

I entered it like this:

image

But I still get the error “Something went wrong”.

Hi Odysee

You need to install the virtual devices plugin on your controller first.

There’s an explanation of how to do it on this help page:

Recreate Vera ‘House Modes’ using Meshbots - help.mios.com (ignore the topic of the tutorial, you just need the plugin bit).

…there’s also a community thread on it here - How to - Create virtual devices on Ezlo platform

Thanks

Paul