Beehive
High-level API
Device name:
beehiveProvided by beehives and bee nests connected to a bus interface.
Methods
getBeeCount():numberGets how many bees are inside the hive.
- Returns the number of bees.
getHoneyLevel():numberGets how much honey the hive holds.
- Returns the honey level, from
0 to 5.isSedated():booleanGets whether bees are currently sedated.
- Returns
true while the bees are calm.Mid-level API
Device name:
BHIVEMethods
1 getHoneyLevelGets how much honey the hive holds.
- Returns one byte, the honey level, from
0 to 5.2 getBeeCountGets how many bees are inside the hive.
- Returns one byte, the number of bees.
3 isSedatedGets whether bees are currently sedated.
- Returns one byte,
1 while bees are sedated, 0 otherwise.