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.




63 posts

Master Geek
+1 received by user: 2


Topic # 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
1625 posts

Uber Geek
+1 received by user: 182

Subscriber

  Reply # 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?

1625 posts

Uber Geek
+1 received by user: 182

Subscriber

  Reply # 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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Samsung New Zealand introducing the Galaxy S9 and S9+
Posted 26-Feb-2018 07:00


Fujifilm X beats its best with new top of the range, high-performance camera
Posted 24-Feb-2018 14:05


One million kiwis affected by cybercrime
Posted 24-Feb-2018 13:58


New Zealanders want to engage with government online and via mobile apps
Posted 24-Feb-2018 13:56


Samsung launches Samsung Max
Posted 24-Feb-2018 13:52


CPTPP text and National Interest Analysis released for public scrutiny
Posted 21-Feb-2018 19:43


Foodstuffs to trial digitised shopping trolleys
Posted 21-Feb-2018 18:27


2018: The year of zero-login, smart cars & the biometrics of things
Posted 21-Feb-2018 18:25


Intel reimagines data centre storage with new 3D NAND SSDs
Posted 16-Feb-2018 15:21


Ground-breaking business programme begins in Hamilton
Posted 16-Feb-2018 10:18


Government to continue search for first Chief Technology Officer
Posted 12-Feb-2018 20:30


Time to take Appleā€™s iPad Pro seriously
Posted 12-Feb-2018 16:54


New Fujifilm X-A5 brings selfie features to mirrorless camera
Posted 9-Feb-2018 09:12


D-Link ANZ expands connected smart home with new HD Wi-Fi cameras
Posted 9-Feb-2018 09:01


Dragon Professional for Mac V6: Near perfect dictation
Posted 9-Feb-2018 08:26



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.

Alternatively, you can receive a daily email with Geekzone updates.