1. Is this related to iOS or the online dashboard?
Dashboard
2. Please describe the issue you are experiencing in as much detail so we can quickly resolve.
Hi,
First of all, thank you for all of your hard work on this project. It looks very promising!
I have come across one issue. I’ve tried to install PiFace Digital as a new device and have been unsuccessful. I have verified that I can operate the device directly from my Pi (Model B with raspbian wheezy). I see on the Dashboard under “Configure Raspberry Pi” that SPI appears to be off. My attempts to change it doesn’t “stick”.
We are still working out some kinks with PiFace Digital, it’s not supported (yet). As of right now, the Settings is a read-only. So, working on that too. But really when you install our agent we should automatically enable SPI…Let me send this to our QA team to test that we do.
PiFace (1 & 2) should be supported, we need to double-check.
SPI setting view is not relevant yet, but SPI is supposed to be enabled when installing Cayenne.
An update for you, I read about how it works over the weekend and got it working with the python library so I just need to think about the best way to get it working with cayenne and integrate mqtt with it
Do you have any code that works with interrupts? I’m using the code below but get the error AttributeError: 'PiFaceDigital' object has no attribute 'InputEventListener'
import pifacedigitalio
def toggle_led0(event):
print(event)
event.chip.leds[0].toggle()
pifacedigitalio.init()
pifacedigitalio = pifacedigitalio.PiFaceDigital()
listener = pifacedigitalio.InputEventListener(chip=pifacedigital)
for i in range(4):
listener.register(i, pifacedigitalio.IODIR_FALLING_EDGE, toggle_led0)
listener.activate()
I’m only using it for digital input output (controlling IO) and also adding several DS18B20 sensors.
Controlling the two relays, reading status of the mini switches.