Update worked like a charm! I was starting to go nuts thinking it was my wiring to the relays
Sent from my SAMSUNG-SM-G891A using Tapatalk
Announcement
Collapse
No announcement yet.
Remote RaspberryIO not working
Collapse
X
-
Hi, I have the same exact issue, where can I find the update? I'm still showing version .8 as most up to date!
Leave a comment:
-
Originally posted by spud View Postplease provide full logs from the startup of the plug-in, and test only with On/Off controls. Thanks
Big update - it works! Not sure what's changed, may be using on/off instead of toggle. Not sure but it works.
Thank you everybody, especially @spud.
Buying the plugin now.Last edited by alexbk66; July 14, 2017, 06:55 AM.
Leave a comment:
-
Originally posted by spud View Postdo you still get an error at startup?
please provide full logs from the startup of the plug-in, and test only with On/Off controls. Thanks
I'll do a clean test without using 'toggle' and report.
From my previous message it looks like when toggling - it reads current state first, which returns 'on', but in fact it is 'off'?
Leave a comment:
-
do you still get an error at startup?
please provide full logs from the startup of the plug-in, and test only with On/Off controls. Thanks
Leave a comment:
-
Actually, looking at log - looks like pins are always set to OFF when toggling:
pi@pi:~/RaspberryIO $ cat log.txt | grep Pin9
Code:Jul-14 02:21:05 DEBUG Setting direction to Output for Pin9 Jul-14 02:21:05 DEBUG Setting Reversed flag to False for Pin9 Jul-14 02:21:05 DEBUG Pin9 value changed to Off Jul-14 02:21:05 DEBUG Setting pulse duration to 1000ms for Pin9 Jul-14 02:21:07 DEBUG Toggling Pin9 Jul-14 02:21:07 DEBUG Pin9 value changed to On Jul-14 02:21:07 DEBUG Setting Pin9 to Off Jul-14 02:21:07 DEBUG Pin9 value changed to Off Jul-14 02:21:11 DEBUG Toggling Pin9 Jul-14 02:21:11 DEBUG Pin9 value changed to On Jul-14 02:21:11 DEBUG Setting Pin9 to Off Jul-14 02:21:11 DEBUG Pin9 value changed to Off Jul-14 02:21:16 DEBUG Toggling Pin9 Jul-14 02:21:16 DEBUG Pin9 value changed to On Jul-14 02:21:16 DEBUG Setting Pin9 to Off Jul-14 02:21:16 DEBUG Pin9 value changed to Off Jul-14 02:21:22 DEBUG Toggling Pin9 Jul-14 02:21:22 DEBUG Pin9 value changed to On Jul-14 02:21:22 DEBUG Setting Pin9 to Off Jul-14 02:21:22 DEBUG Pin9 value changed to Off
Leave a comment:
-
Flashed new Raspbian image, installed 3.0.0.9 on both Windows HS and RasPi, same result - all looks good:
Code:ul-14 02:26:46 DEBUG Pin8 value changed to On Jul-14 02:26:46 DEBUG Setting Pin8 to Off Jul-14 02:26:46 DEBUG Pin8 value changed to Off Jul-14 02:26:46 DEBUG Toggling Pin9 Jul-14 02:26:46 DEBUG Pin9 value changed to On Jul-14 02:26:46 DEBUG Setting Pin9 to Off Jul-14 02:26:46 DEBUG Pin9 value changed to Off
Leave a comment:
-
Originally posted by spud View PostI think this is a bug introduced in version 3.0.0.8, I fixed it in version 3.0.0.9.
Please test this version and let me know. Thanks!
[EDIT] - Where do I install it - Windows HS or RasPi?
Leave a comment:
-
I think this is a bug introduced in version 3.0.0.8, I fixed it in version 3.0.0.9.
Please test this version and let me know. Thanks!
Leave a comment:
-
I tried another Jessie image (without ZWay) I get:
Code:Plugin: RaspberryIO Instance: MyRasperry starting... Connecting to server at 192.168.0.15... Connection attempt #1 Connected (HomeSeer API 3). Waiting to be initialized... Jul-13 19:30:20 INFO RaspberryIO version 3.0.0.8 Jul-13 19:30:25 INFO Raspberry Pi running on Bcm2835 processor Jul-13 19:30:25 INFO Firmware rev10625154, board model B3 (Raspberry Pi 3 Model B) Jul-13 19:30:25 INFO Serial number: 000000008c00bd0f Jul-13 19:30:25 ERROR Raspberry.IO.Interop.MemoryMapFailedException: Exception of type 'Raspberry.IO.Interop.MemoryMapFailedException' was thrown. at Raspberry.IO.Interop.MemoryMap.ThrowOnError[TException] (IntPtr result) <0x72436360 + 0x0003c> in <filename unknown>:0 at Raspberry.IO.Interop.MemoryMap.Create (IntPtr address, UInt32 size, MemoryProtection protection, MemoryFlags memoryflags, Int32 fileDescriptor, UInt32 offset) <0x72436100 + 0x000a3> in <filename unknown>:0 at Raspberry.IO.GeneralPurpose.GpioConnectionDriver..ctor () <0x724357c0 + 0x0010f> in <filename unknown>:0 at Raspberry.IO.GeneralPurpose.GpioConnectionSettings.GetBestDriver (GpioConnectionDriverCapabilities capabilities) <0x724353e8 + 0x00037> in <filename unknown>:0 at Raspberry.IO.GeneralPurpose.GpioConnectionSettings.get_DefaultDriver () <0x72435140 + 0x000c7> in <filename unknown>:0 at Raspberry.IO.GeneralPurpose.GpioConnectionSettings..ctor () <0x72435018 + 0x0000f> in <filename unknown>:0 at Raspberry.IO.GeneralPurpose.GpioConnection..ctor (Raspberry.IO.GeneralPurpose.GpioConnectionSettings settings, IEnumerable`1 pins) <0x724345a0 + 0x000b7> in <filename unknown>:0 at Raspberry.IO.GeneralPurpose.GpioConnection..ctor (IEnumerable`1 pins) <0x72434460 + 0x0001f> in <filename unknown>:0 at HSPI_RaspberryIO.RaspberryPiApp.<Init>b__49_0 () <0x72ff2b48 + 0x002eb> in <filename unknown>:0
Leave a comment:
-
Thank you @spud
I do run as su (in /etc/rc.local):
Code:sudo /home/pi/RaspberryIO/run.sh &
Code:Jul-13 18:40:46 DEBUG Pin17 value changed to Off Jul-13 18:40:46 DEBUG Toggling Pin18 Jul-13 18:40:46 DEBUG Pin18 value changed to On Jul-13 18:40:46 DEBUG Setting Pin18 to Off Jul-13 18:40:46 DEBUG Pin18 value changed to Off Jul-13 18:40:46 DEBUG Toggling Pin22
Two other possibilities:
1. I have RaZberry hut installed, could be interfering somehow, I'll test removing the card
2. The plugin was installed on RasPi more then 30 days ago, but I had to rebuild my Windows machine, so now in plugin management page it says "26 days left", not sure if on RasPi side it has its own check? Wouldn't want to pay for plugin until it's working...
Leave a comment:
-
you need to start the run.sh script as root, as shown in the user guide:
Code:sudo ./run.sh
To set the log level to debug, go to the config page for your remote instance, there is a dropdown list at the bottom of it.
Leave a comment:
-
Originally posted by spud View Posthow do you test the pin state?
Originally posted by spud View Postdo you run the plug-in using "sudo"
Originally posted by spud View Postwhen you say "'Toggle' option works only when output is 'on'" does the pin actually become lo when you do that?
Originally posted by spud View Postplease set the log level to Debug, restart the plug-in, and post the debug logs of your tests.
I filtered the current HS log, file attached. I noticed there are some errors sometimes, but after rebooting RasPi they go away and it seems like there's no errors.Attached FilesLast edited by alexbk66; July 13, 2017, 03:35 AM.
Leave a comment:
-
Originally posted by alexbk66 View PostI installed RaspberryIO plugin on my RasPi3, following all instructions. It does show up in 'Remote Plug-Ins' section in my HS3, saying ok and showing correct IP address.
I configure all pins to 'output', but when I change the state in HS - the pin states don't become 'hi' on Raspi.
I tested GPIO with RPi.GPIO - all works.
I also noticed that 'Toggle' option works only when output is 'on' - so it goes 'off'. But when it's 'off' - toggle doesn't do anything.
So, what's wrong? Please help...
do you run the plug-in using "sudo"
when you say "'Toggle' option works only when output is 'on'" does the pin actually become lo when you do that?
please set the log level to Debug, restart the plug-in, and post the debug logs of your tests.
Leave a comment:
Leave a comment: