Lets say I have a way to detect how many persons that enter or leave a room. The sensors give me info of People detected entering room.
I know I can calculate the actual number of people in each room by using blocky or lua, but how do I actually send the number from "People detected entering room" sensors ? But what kind of sensor do I specify in the mysensors sketch? Are there any form of counter sensor value to use?
Code: Select all
People detected entering room: 4 3 1 |Room 1 | --> |Room 2|-->|Room 3|-->|Room 4| Actual number of people in each room: 1 2 1 0