Logic Machine Forum
Wireless, small, reliable range, energy efficient sensors - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Wireless, small, reliable range, energy efficient sensors (/showthread.php?tid=2944)

Pages: 1 2


Wireless, small, reliable range, energy efficient sensors - buuuudzik - 29.10.2020

Hello,

Do you have some nice wireless sensors which can work with LM? They're should work with other so probably the best would be some wireless system of sensors based on ZigBee or Wifi, or 433MHz which can be integrated with LM.

The most important for me is:
- brightness sensor (because ceiling is not the best place for it and in some cases value correction not helping enough in dark places),

Of course if you have some checked solution for temperature, humidity, presence sensor it would be interesting for future.

What about this device? Is it possible to integrate with LM?
https://www.aliexpress.com/i/4000475072470.html


RE: Wireless, small, reliable range, energy efficient sensors - admin - 29.10.2020

Right now LM supports only ZigBee HA 1.2. Most 3.0 devices are backward compatible so they can be connected to HA 1.2 gateway but this is not guaranteed.


RE: Wireless, small, reliable range, energy efficient sensors - buuuudzik - 29.10.2020

Thank you admin for concrete data.

Currently how can I start with ZigBee on LM?

Do I need some Zigbee gateway? Do you have some basic scripts/app?


RE: Wireless, small, reliable range, energy efficient sensors - Daniel - 29.10.2020

We would need to send you USB module and the beta app. Do you want to be beta tester?


RE: Wireless, small, reliable range, energy efficient sensors - buuuudzik - 29.10.2020

(29.10.2020, 15:03)Daniel. Wrote: We would need to send you USB module and the beta app. Do you want to be beta tester?

Of courseSmile,  please give me some example of devices which will work for sure. For start I can buy for sure brightness sensor and wireless contacts.


RE: Wireless, small, reliable range, energy efficient sensors - Daniel - 29.10.2020

I can only say what I tried already. The Ikea  stuff works, Philips hue too.
This  Temp/Humidity
Innr wall plug
I also have some SE products like single switch actuator, temp/humidity sensor, Wall plug.
Aqara Smart Air Pressure Temperature Humidity Environmental Sensor


RE: Wireless, small, reliable range, energy efficient sensors - buuuudzik - 29.10.2020

Is there in zibgee range expander?


RE: Wireless, small, reliable range, energy efficient sensors - admin - 29.10.2020

Most mains-powered devices like lamps/sockets can also act as a router and pass messages to the gateway.


RE: Wireless, small, reliable range, energy efficient sensors - AlexLV - 01.11.2020

Hi,

if not a problem I also want to test Zigbee devices. I have LM5 Reactor Dimmer KNX at home. And in one nearest possible project I have Zigbee LED drivers (Hue mentioned, so hope should work..) But of course distance and stability, quantity of devices is very interesting..

Alex


RE: Wireless, small, reliable range, energy efficient sensors - Daniel - 02.11.2020

Zigbee dongle can be purchased from our office, contact sales and ask for it.


RE: Wireless, small, reliable range, energy efficient sensors - AlexLV - 02.11.2020

Hi,
Zigbee dongle installed, zigbee package 20201002 also installed. LM5 rebooted, Zigbee application not seen in between other apps... Also I used USB Hub (modem connected to usb before). Noticed that not enough power. I thing somewhere was recommended use separate power for USB hub.. Will connect it.

How to do Zigbee apps. visible?

BR,

Alex


RE: Wireless, small, reliable range, energy efficient sensors - Daniel - 02.11.2020

There is no zigbee package only Zigbee app? Did you install it as a package from system? Do not use the usb hub


RE: Wireless, small, reliable range, energy efficient sensors - AlexLV - 02.11.2020

Daniel,

vice versa. I see package installed but Zigbee app not exist (not seen among others). Hmm regarding USB HUB - I also use SMS modem connected to USB.. Does it mean that only Zigbee USB dongle should be used and no any other USB devices??

Alex


RE: Wireless, small, reliable range, energy efficient sensors - Daniel - 02.11.2020

Let's start from the beginning. Where from did you get the app and how did you install it? For testing Zigbee keep any unnecessary points of failure.


RE: Wireless, small, reliable range, energy efficient sensors - AlexLV - 02.11.2020

Just today I bought dongle from OpenRB, and received from Edgars zigbee-20201002.ipk I installed it over System --> Packages -->Add Package. Reboot my LM5.

After rebooting I found out that visualization not working, but ping to my LM is OK. Problem was my USB Hub, connected without additional power supply. I removed it and connected dongle directly. in log I see dongle appeared. Zigbee application anyway not seen..

Load averages: 0.02 0.12 0.30
System log
Nov 2 17:53:24 Home user.info sysinit: /lib/genohm-scada/storage/db/current.db: OK
Nov 2 17:53:22 Home kern.notice kernel: [ 15.085569] random: nonblocking pool is initialized
Nov 2 17:53:13 Home kern.info kernel: [ 6.447296] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
Nov 2 17:53:09 Home kern.info kernel: [ 2.578503] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: nodelalloc
Nov 2 17:53:09 Home user.info sysinit: /dev/mmcblk0p3: clean, 3434/958464 files, 119851/3830528 blocks
Nov 2 17:53:09 Home user.info sysinit: e2fsck 1.45.6 (20-Mar-2020)
Nov 2 17:53:09 Home kern.info kernel: [ 2.416327] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Nov 2 17:53:08 Home kern.info kernel: [ 1.348568] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=-1)
Nov 2 17:53:08 Home kern.info kernel: [ 0.931835] EXT4-fs (mmcblk0p2): re-mounted. Opts: nodelalloc
Nov 2 17:53:08 Home kern.info kernel: [ 0.741077] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
Nov 2 17:53:08 Home kern.info kernel: [ 0.738598] usb 1-1: SerialNumber: __0X00124B0014DBCDAB
Nov 2 17:53:08 Home kern.info kernel: [ 0.738587] usb 1-1: Manufacturer: Texas Instruments
Nov 2 17:53:08 Home kern.info kernel: [ 0.738575] usb 1-1: Product: TI CC2531 USB CDC
Nov 2 17:53:08 Home kern.info kernel: [ 0.738563] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 2 17:53:08 Home kern.info kernel: [ 0.738540] usb 1-1: New USB device found, idVendor=0451, idProduct=16a8
Nov 2 17:53:08 Home kern.info kernel: [ 0.594859] usb 1-1: new full-speed USB device number 2 using ci_hdrc
Nov 2 17:53:08 Home kern.info kernel: [ 0.512706] Freeing unused kernel memory: 164K
Nov 2 17:53:08 Home kern.info kernel: [ 0.512447] VFS: Mounted root (ext3 filesystem) on device 179:2.
Nov 2 17:53:08 Home kern.info kernel: [ 0.512362] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Nov 2 17:53:08 Home kern.info kernel: [ 0.414782] mmcblk0: p1 p2 p3
Nov 2 17:53:08 Home kern.info kernel: [ 0.413163] mmcblk0: mmc0:59b4 USDU1 14.9 GiB
Nov 2 17:53:08 Home kern.info kernel: [ 0.412393] mmc0: new high speed SDHC card at address 59b4
Nov 2 17:53:08 Home kern.warn kernel: [ 0.406362] mmc0: host does not support reading read-only switch, assuming write-enable
Nov 2 17:53:08 Home kern.info kernel: [ 0.391063] Waiting for root device /dev/mmcblk0p2...
Nov 2 17:53:08 Home kern.err kernel: [ 0.390998] Warning: unable to open an initial console.
Nov 2 17:53:08 Home kern.info kernel: [ 0.390598] vdd3p0: disabling
Nov 2 17:53:08 Home kern.info kernel: [ 0.390022] rtc-pcf85263a 0-0051: setting system clock to 2020-11-02 17:53:07 UTC (1604339587)
Nov 2 17:53:08 Home kern.info kernel: [ 0.384636] can: raw protocol (rev 20120528)
Nov 2 17:53:08 Home kern.info kernel: [ 0.384609] NET: Registered protocol family 29
Nov 2 17:53:08 Home kern.info kernel: [ 0.384452] can: controller area network core (rev 20120528 abi 9)
Nov 2 17:53:08 Home kern.info kernel: [ 0.384414] NET: Registered protocol family 17
Nov 2 17:53:08 Home kern.info kernel: [ 0.384292] ip_tables: © 2000-2006 Netfilter Core Team
Nov 2 17:53:08 Home kern.warn kernel: [ 0.365440] 2198000.adc supply vref not found, using dummy regulator
Nov 2 17:53:08 Home kern.info kernel: [ 0.350925] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
Nov 2 17:53:08 Home kern.info kernel: [ 0.313128] sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
Nov 2 17:53:08 Home kern.info kernel: [ 0.313087] sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
Nov 2 17:53:08 Home kern.info kernel: [ 0.310368] sdhci-pltfm: SDHCI platform and OF driver helper
Nov 2 17:53:08 Home kern.info kernel: [ 0.310354] sdhci: Copyright© Pierre Ossman
Nov 2 17:53:08 Home kern.info kernel: [ 0.310327] sdhci: Secure Digital Host Controller Interface driver
Nov 2 17:53:08 Home kern.info kernel: [ 0.309328] usbcore: registered new interface driver btusb
Nov 2 17:53:08 Home kern.info kernel: [ 0.308521] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
Nov 2 17:53:08 Home kern.info kernel: [ 0.307362] lirc_dev: IR Remote Control driver registered, major 249
Nov 2 17:53:08 Home kern.info kernel: [ 0.306448] i2c /dev entries driver
Nov 2 17:53:08 Home kern.info kernel: [ 0.306194] rtc-pcf85263a 0-0051: rtc core: registered rtc-pcf85263a as rtc0
Nov 2 17:53:08 Home kern.warn kernel: [ 0.302540] rtc-ds1307: probe of 0-006f failed with error -5
Nov 2 17:53:08 Home kern.info kernel: [ 0.300786] hub 2-0:1.0: 1 port detected
Nov 2 17:53:08 Home kern.info kernel: [ 0.300669] hub 2-0:1.0: USB hub found
Nov 2 17:53:08 Home kern.info kernel: [ 0.299335] usb usb2: SerialNumber: ci_hdrc.1
Nov 2 17:53:08 Home kern.info kernel: [ 0.299312] usb usb2: Manufacturer: Linux 4.4.231 ehci_hcd
Nov 2 17:53:08 Home kern.info kernel: [ 0.299291] usb usb2: Product: EHCI Host Controller

packages (part):

zigbee
20201002
zlib
1.2.11-1

Pics of applications:

   


RE: Wireless, small, reliable range, energy efficient sensors - admin - 03.11.2020

You need to install the app via the store not as a package. On the main apps screen click the user icon, then + icon when logged in as admin. Click the menu in the top left side and select "Install from file".


RE: Wireless, small, reliable range, energy efficient sensors - AlexLV - 04.11.2020

admin,
thank you, now app is installed. I will start use it.

Alex


RE: Wireless, small, reliable range, energy efficient sensors - AlexLV - 05.11.2020

Hi,

anyway zigbee app should me more deeply checked. Zigbee dongle connected directly to USB port of my LM5. I saw not all today trends are visible on visualisation. I pressed LogicMachine icon and just empty page was shown. I restarted LM, and it not helps. I just removed and inserted zigbee dongle again to LM. LM fully loaded, but anyway very big consumption:

   


RE: Wireless, small, reliable range, energy efficient sensors - lestole - 07.11.2020

@admin: Is the zigbee app and dongle compatible with the SpaceLYnk as well?

Regards
Lars Eirik


RE: Wireless, small, reliable range, energy efficient sensors - AlexLV - 09.11.2020

Hi,

just need some comments about my log picture above. Is it normal such consumption for command for zigbee app.? My LM shows 100% PLC usage, what else to check?

Alex