Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


grb67

63 posts

Master Geek
+1 received by user: 2


#143782 26-Apr-2014 22:35
Send private message

Wondering if anyone has written script for Raspberry Pi with the PiFace digital io board to use SNMP to check status of inputs.
Looking to use The Dude as the SNMP server and poll the Pi to get the status of the io pins if this is possible.

I have manged to make it print when the inputs change state but really want to be able to poll it.
A real linux newbie here so I am struggling

Create new topic
SumnerBoy
2079 posts

Uber Geek
+1 received by user: 306

ID Verified
Lifetime subscriber

  #1031877 27-Apr-2014 08:38
Send private message

I do something similar, but not with SNMP, I am using MQTT to publish messages when something happens (and also use it to allow external systems to publish messages causing pins on the PiFace to go HIGH/LOW). My script is written in python, but happy to share if you think it might help?



SumnerBoy
2079 posts

Uber Geek
+1 received by user: 306

ID Verified
Lifetime subscriber

  #1050274 21-May-2014 09:33
Send private message

For anyone else that might be interested I have published by code on GitHub;

https://github.com/sumnerboy12/mqtt-gpio-monitor

Will handle direct GPIO IO, or via the PiFace extension board.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.