Todaycount() value in CounterLogs, bug
Hi,
When using a CounterLog tasks, the input value used to populate its values only trigger the function to update the TotalValue() value, he remaining values (e.g. Average, Last 24 hours, Daily) are only updated every hour on or about on the hour.
The above possess a significant bug that needs to be fixed, otherwise those using any of those values updated only on the hour or immediately after receive incorrect calculations. This is because bOS calculates those remaining values after the o'clock, hence allocating such value to the next day hence creating and giving significant incorrect information, if this is not a bug then you should forbid using those values in calculations as the result will always be wrong
bOS version 4.7, the below screenshot shows this perfectly, the three graphs use the same calculation against the value. I thought I was doing somethign incorrect, to the point I had to create specific test cases to find out what the hell was going on, effectively proving somethign is wrong in bOS
Graph1 uses 3 variables (one always 0) in the polynom, using TotalValue(), which is updated on the spot by bOS
Graph2 uses 3 variables (one always 0) in the polynom, using TodayCount(), which is NOT updated on the spot by bOS, but on the hour, after the o'clock
Graph3 uses 2 variables in the polynom, using TotalValue(), using TotalValue(), which is updated on the spot by bOS
The results can be easily seen below, at 20:00 the counter shows the correct usage of 1 L of water between 20:00 and 20:59, two graphs are correct, the third one is wrong because the TodayCount calculation happens after 20:59:59 hence pushing the 1L usage of water to the 21:00 to 21:59 block. weird ehh? The worst part comes at midnight, because at that point the TodayCount does the best weird calculation, the whole day calculation moves to the next day, hence creating an artificial and incorrect 24 L use on the following day, completely wrong way of calculating the values. The 24L was the actual waster of water in the previous day, but because the function does the calculation past midnight then we get a terrible wrong result, showing that actually past midnight there had been a waste of 25 L of water.
Condition using user rights
Hi.
Is it possible to build a program based on the user rights condition?The topic concerns air conditioning in the office. AC control is available from the KNX wall thermostats and from the visualization. Administrator has the option to lock thermostat on the wall to prevent office staff from changing some AC functions. At the same time, the same functions are available on the visualization for both regular users and the administrator.
My point is to block the execution of program (linked to the button on the visualization and KNX thermostat) by regular users, and allow execution only by users with administrator rights, without need to duplicate the button and program linked to it. I would like to include two conditions in the program that determine the ability to run the program.
Something like this:
If <thermostat> = blocked
If <user_rights> = administrator
<program_name_2>.Run()
Else <user_rights> = user
<program_name_3>.Run()
Else
<program_name_1>.Run()
Regards,
Grzegorz
Graphics
Good afternoon.
We have two doubts regarding the graphic part of bOS, being:
1. Is there a possibility to change the granularity (spacing - interval) of the X axis [hours]?
2. When we execute the Export of the data inside the Configurator, we have the information: Data | Hour | Value; but when we export to the Client, using the button with the Excel symbol, is the data "strange"?
The problem is with the export to Excel button
Please, can someone help us?
Thanks!
Marco Fernandes
STRUXI
1000 separator decimal point on/off option
Hey,
Is it possible to remove it? Because some of our building managers dont understand it and im tired of explaining that to them every month.
As an example: when bOS sends out meter values it adds a decimal point if the value is over 1000. to 1,000. Correct decimal point is actually dot . now they want me to change it so the actual decimal point i (,) and remove the 1000 separator.
Haven't found a option for this.
Regards
Program for monitoring 330+ registers
Hey,
I'm trying to make a program that monitors 330+ modbus statuses for alarms. If any of those registers are true it should change the common alarm status. If i add just one register it works well.
But i don't know how to monitor them all with one program, it seems like it works with the last register only if i add them all in.
I also tried to make it just with IF commands and last one was else. But had same problem that it wouldn't recognize the middle statuses. Also tried to make two separate program one that turns the status off and one that turns it on, and i think they cancel themself out.
So how would you monitor so many registers?
Regards
Adding objects in scenes
Hello everyone,
Is it just me, or does inserting objects in scenes can become a nightmare???
When creating a scene on bOS, and inserting objects on the configurator, it gets slower depending on how many objects you insert.
E.g.:
If you create a scene with just a couple of objects that's ok. But if you try to add like 20, 40 objects, the more you insert, the more the software freezes and you need to wait several seconds before adding a new object.
Right now I have a scene with 26 objects. If I add a new one, it lets me choose the object, the software freezes, and it took at least 16s until I was able to click the Add button again...
This happens to me all the time, when creating long scenes. The more objects you insert, the slower in gets.
Heeeeeeeelp! I'm almost cutting my wrists...
Modbus error handling new features
Hey,
I had a small problem with modbus connection that seemed to be all fine(Was connected and no errors in debug), but actually it didn't update values, but i had the error handling setting set to hide.
Now here's my question if it's set to hide and there is some error does it drop the connection? Or will it still reconnect after the error just doesn't log the error?
I was looking at the diagnostics/debug and it didn't show me any timeouts but it looked like it only was asking 1 register for updates. after i disabled it and re-enabled it started to talk to me again(Started to poll/update all the registers). So right now i left the error handling to reconnect.(Only reason i left it in hide mode was so i could test registers that didn't respond for some reason, now i just turned off cyclical read on them) Modbus connection was "offline" for 2 days.
Also it would be awesome if we could disable/enable modbus driver from the visualization too, I haven't found a way to do it. We can see the status of the driver that's it.
Regards,
Jürgen
alexa not responding
Hello, I have all my KNX devices at home connected via BOS to Alexa - about 70 devices. All worked well, until suddenly Alexa stopped responding to all devices. i.e. - When I ask Alexa to 'turn on' a device, it says that the device is not responding - this is the same situation with all my KNX devices. To clarify, BOS works well from the app and also Alexa works well with other devices not connected via BOS. Any idea?
KNX import status adress
Are there any fast way to input status adresses when importing from KNX or is typing them in manually the way to go?
BR
Per-Åke
alexa
I have problems with Alexa, I could link everything, but at the time of giving the command of "Alexa turn on the lights" my Bos Configurator closes and Alexa replies that no lights do not respond that could be the problem?
Customer support service by UserEcho