Serialisation order when trigger is activated
Hi,
We're facing some challenges on variable values due to the unknown approach BOS takes when executing programmes triggered by the same variable. It woudl be good to understand the approach to parallelisation and serialisation BOS follows
Let's say you have 5 programmes, A,B,C,D,E that are only executed when Sun changes position changes to "DAY". How does BOS decide which programme is executed first? There is a first, the five programmes do not start in parallel at the same time, that is a fact based on the tests I have done which are proving the troublesome issued being faced. What I mean by the latter is that A might be halfway executed by the time E starts the execution, so if you have variables used as input of those 5 programmes then there is an issue if some of those variables are not yet updated for the reasons we're calling out.
Can the BOS team shed some light on how
1) Execution order is decided at the time of triggering the trigger that activates the programme
2) How does BOS decides the order, is it alphabetical?
Hello all,
if bOS would be using serial / synchronous execution in drivers / tasks / themes, than nothing would work :) Of course bOS is handing every program task as async (multithreading) and the underlying OS is in charge for managing those threads and deploying CPU time to each individual thread. We also cannot talk in ms precision here (also I don't think it is required in HA) because of multiple factors:
- underlaying OS is not a Real Time OS
- protocols for HA are usually slow
- response time of physical devices
- ...
Anyway I also did some test and they were all executed without any delays. However this were just simple tasks to log message. In your case, there might be other issues in the individual task itself if it is more complex, if you are running other tasks from the original task...
Of course there will be delays, but in general we did not receive any concerns about speed of execution so far from any of our customers.
But as I mentioned earlier the delay is not always related to us, e.g. if you try to control 50 KNX lights at once you will see that they will not turn on at the same moment, because KNX TP speed is 9600 bit/s, which means it can transfer 20-40 packets per second, so the main bottle neck here is a speed of KNX bus and there is nothing we can do and in my opinion that is not even a issue.
Best regards,
Matic
Date and Time capturing to pass on KNX bus
There are a couple of similar posts, but none really hits the nail on the head as maybe I have a different problem. BOS server version latest 4.8.14
The situation is very simple, I want to create three variables (date, time, timestamp) in BOS, which are then mapped or given the same addresses as KNX so BOS effectively populates the KNX addresses and issues the date and time to the KNX BUS. However, there are continues issues, despite several and lengthy testing performed
Current BOS variables created
Current KNX variables created in ETS5
Time, seems to be working fine
Date,
- First problem, the value type, KNX 11.001, allows for the time, but the time value is actually not populated by BOS
- Second problem, if status address is populated in the BOS variable it creates problems for BOS and the date is no longer transmitted/populated
- Third problem, the associated KNX variable, spits errors, despite being the same value type
BOS variable
KNX variable
Errors spit in transforming
Timestamp,
- First problem, the time is not populated, only the hour of the time is, minutes and seconds are not populated
- Second problem, the KNX variable is not populated, not a single field
BOS variable
KNX variable
Counter Log only shows and stores partial value (incremental)
BoS: 4.8.14
KNX data point value
Counter log pointed to KNX data point value above
Why does the counter log only records the partial values and graphically displays the partial values as opposed to the real value of the KNX data point?
Graph properties - Legend Text as object value?
Hey guys,
Would you consider please implementing for the Legend Text value for the Graph properties to be able to select it as an object value?
I am plotting the temperatures from different sensors. The name of the sensor can change at the sensor level and is available as a value to be used, however currently the Legend Text field doesn't support to select an object value.
Thank you,
Calin
Switch On and Off lights depending on sunrise and sunset
Hello, I am new with Jigsaw.
I want to switch on some lights with Sunset and switch off them with Sunrise.I try with program tasks and with scenes but nothing. Probably something goes wrong with my programming.
The Latitude and the Longitude are correct.
Also I attach a foot of this
Can anyone help with this.
Thank you in advance.
Alexa - Motion Sensor
I have added a new device within the Alexa API as a "Motion Sensor", but I am only getting the "Detected" and "Not detected" states.
Is there an option to also get the "Not detected for x" state visible in the Alexa app?
HTTP request
Hi,
I want to send http requests from my 2N devices (IP intercom) to my bOS Config, so I can open/close the doorlocks installed in Comfortclick.
How can I integrate these http requests (send from my 2N devices) in my bOS Config?
Thanks in advance,
Mathijs
Translation Trouble
It seems that the main title of the window is not translating to another language, its stays in the language that you made the programming, is there any possibility to fix this.
Thanks
Prevent negative values from Modbus SMA
Hi,
I'm reading values from my SunnyBoy SMA Inverter to shown the yield of my solarpanels in my bOS.
I successfully connect to my SMA with below values:
It goes just fine as long as the sun is shining. Once the sun drops, the NaN value takes it's place and gives me the
-2147483648 value; When plotting my daily yield, the few actual kw (max. 14 kW) vanishes compared to this ridiculous high value. Is there any way to prevent this kind of spikes?
I've tried adding a new integer value which is set with a Program and corrected to 0 when the value drops below 0, but this still doesn't works out... Is there another SMA user suffering from the same?
Best,
Michiel
Connect Smart meter (Fluvius) to Comfortclick
Hi,
I recently acquired a Smart meter by our Belgian energy supplier Fluvius. It has some ports to be connect and I have connected both my Jigsaw and my meter using a R12-USB cable.
I've added a "Basic" device with the required parameters, but all I get back on the Raw Data is FF and the Encoded data value is ?
It looks like the device is connected, but I cannot extract or read data from this device. Does anyone have an idea what the "FF" or "?" stands for and how to fix this?
Best regards,
Michiel
Customer support service by UserEcho