Jey-Cee / ioBroker.primelab

PrimeLab is a Multisensor for pool measurements. This adapter for ioBroker connects to the PrimeLab cloud and write the data to ioBroker.
https://primelab.org
Other
1 stars 2 forks source link

Add Datapoint to trigger Data request #17

Closed Linedancer closed 5 years ago

Linedancer commented 5 years ago

It is not important to check every several minutes if the are new Values on the cloud. I would suggest to have a trigger to get data from the cloud instead of using cron.

Jey-Cee commented 5 years ago

You can change the cron in expert mode in instance view. To use a trigger parallel to cron the adapter has to run as daemon. This causes permanently RAM consumption. Also you can start/stop the Adapter via js, wait for updating the values and stop it.

For now i will not implement a trigger.

Linedancer commented 5 years ago

OK, understood. Will try to start and stop the Adapter.

Jey-Cee commented 5 years ago

Additional information for you: There is a Object to control the state of the Adapter, see screenshot. image This will activate or deactivate the adapter, if it is activated the adapter is running as cron, so you have to wait for the normal start and than deactivate it after the values are updatet.