Enter forum description here ...
0
Not a bug

Serialisation order when trigger is activated

Paul G 4 years ago in bOS Configurator updated 3 years ago 16

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?

Answer
ComfortClick Support 4 years ago

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

0
Under review

Date and Time capturing to pass on KNX bus

Paul G 4 years ago in Devices / KNX updated 4 years ago 7

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

Image 3131

Current KNX variables created in ETS5

Image 3135

Time, seems to be working fine

Image 3129

Image 3130

Date

  1. First problem, the value type, KNX 11.001, allows for the time, but the time value is actually not populated by BOS
  2. Second problem, if status address is populated in the BOS variable it creates problems for BOS and the date is no longer transmitted/populated
  3. Third problem, the associated KNX variable, spits errors, despite being the same value type

BOS variable

Image 3132

Image 3133

KNX variable

Image 3136

Image 3137

Errors spit in transforming

Image 3134

Timestamp, 

  1. First problem, the time is not populated, only the hour of the time is, minutes and seconds are not populated
  2. Second problem, the KNX variable is not populated, not a single field


BOS variable

Image 3138

Image 3139

KNX variable

Image 3140

Image 3141

0

Counter Log only shows and stores partial value (incremental)

Paul G 4 years ago in Devices / KNX updated 4 years ago 2

BoS: 4.8.14


KNX data point value

Image 3127

Counter log pointed to KNX data point value above

Image 3128

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?

0

Graph properties - Legend Text as object value?

Calin Birtocean 4 years ago in bOS Configurator 0

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

0

Switch On and Off lights depending on sunrise and sunset

Charis Garoufalias 4 years ago in bOS Configurator / Tasks updated by Ricardo Pinto | visiontech pt 4 years ago 3

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.

Image 3114


0

Alexa - Motion Sensor

Miha Smrajec 4 years ago in bOS Configurator / Devices 0

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?

0

HTTP request

Mathijs 4 years ago in Devices / Http updated by Michal Kowalczyk 3 years ago 2

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

0
Under review

Translation Trouble

Sorin Teodorescu 4 years ago in bOS Configurator updated by ComfortClick Support 4 years ago 1

Image 3078

Hi To All
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

0

Prevent negative values from Modbus SMA

Michiel Kenis 4 years ago in Devices / Modbus updated 3 years ago 9

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:

Image 3064

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

0
Under review

Connect Smart meter (Fluvius) to Comfortclick

Michiel Kenis 4 years ago in Devices / Basic updated 4 years ago 14

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 ?

Image 3059


Image 3058



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