Thank you for taking the time to submit your bug/issue! Please use the points below as a guide when submitting.
Device & model you are using (Ex: Pi 2 Model B or Arduino Uno with W5100 ethernet shield)
Rpi 2 mod B
What dashboard are you using? (Web, iOS, Android)
Web and iOS
Please describe the bug / issue as detailed as possible. Attaching the code and any relevant screenshots would be very helpful!
I have 2 widget setup up to read voltage using the mcp3008.
The web browser shows volt and correct voltage but the iOS app shows lower voltage and float. No matter how many times I hit save float dos not change to volt. This has been an issue with other widgets where saving the sensor several times eventually solves the problem. I usually wait a minute to allow the server to catch up but this voltage widget refuses to change and read the correct voltage after 2 days old trying.
Also as a suggestion I would like a scale on that generic sensor that allows scaling so it will read true voltage resolution thatās been reduced from 26vdc down to 3.3vdc. 0-26v to 0-3.3v.
Looks easily reproducible, let us look into this and push out a fix for next iOS update. Thank you for letting us know! Seriously, really helps when we try and fix these things! Iāll update this thread when we can push a fix.
Umā¦ maybe I broke it with 5v on the mcp3008. Script?, not a clue, research time, Ill figure how to write a script in python. Iām still an Rpi toddler.
I deleted the widgets and added new and now web browser is showing 3.3v and varies with the pot when changed. Still the iOS app only shows Iv . Hmmm. I think thereās a bug.
Also the widgets showed on the web first then five minutes later they show up on the iOS app even tho I added from iOS.
I have the exact same issue and just saw this thread when I was about to create a new issue (I didnāt after seeing this).
I am using a Raspberry Pi 2 and have just configured it with Cayenne. Iāve also been using the latest iOS app (running on iPhone 7 with iOS 10.1.1).
I currently have a number of modules connected, some using Cayenne, some not:
DHT11 Temperature & Humidity sensor (this is relaying info to a dashboard on Beebotte (Beebotte) and wired up to GPIO18 on the Pi
DS18B20 1-wire temperature sensor (wired up to GPIO4 on the Pi using a 4.7K resistor as recommended)
MCP3008 Analogue converter (wired up as per the tutorial on here) and finally,
LDR photoresistor (wired up as per the tutorial on here)
I managed to get the sensors working (with the exception of the DHT11 as I understand this is still being developed by myDevices Cayenne) and I was able to set the widgets up on the web dashboard, as well as within the iOS app. However, the photoresistor always defaults back to āFloatā on the iOS app when I want it to be āVoltā. I set it as Volt in the settings on the web dashboard, but it seems to default back to Float whenever I open the iOS app.
The idea is that I can see the voltage of the photoresistor in the app when Iām away from home (my Pi is monitoring the conditions in my spare room where I have two batches of homebrew beer fermenting away, so it would be great to see the environmental conditions), but not being able to see this properly in the iOS app is a little frustrating.
Not sure if this is a bug, but it would be great if this could be fixed ASAP as my beer will be ready soon!
@bestes any word on this? Also setting a conversion scale to display voltage range as needed. Say a full 3.3v from the mcp3208, my dial would read 36v solar panels.
Yikes I am late to the party here. Sorry for the late reply.
So for voltage scaling, is this what you would expect:
Multiply the value coming into Cayenne (say, 3.3v) by this number (some variable), and display the final number for this sensor/widget (in your case, it would be 36v).
Just want to be clear before I pass this along to the team