We’ve just released UI support for the ESP8266 stand alone. We also supported SparkFun’s Thing Dev board since we recently partnered with them. Check it out and let us know what you think!
My dashboard doesn’t have that “Sharing” Icon. I just have “Overview” on the left, then the project name and the Settings gear on the right. Any thoughts on why that would be?
They look similar but the advantage of projects is that you can have widgets from multiple devices on the same dashboard. And that you can eliminate things like the default Pi widgets that are not otherwise removable by just refusing to include them in your Project view.
If you have just a single device, you can still replicate it’s device dashboard exactly in a project view to access the Sharing feature.
On a related note, now I’m seeing some unexpected behavior with regard to the “Triggers and Alerts” button on the Project panel. I had some triggers that I created under individual widgets on the device dashboard. Now when I go under “Triggers and Alerts” and then click “My Triggers” I get nothing (visible). Even when I click “New Trigger” and go through everything to add a trigger, then Save, it still says “You have not created any triggers yet” and “My Triggers” still shows nothing.
However, once I went back to my device dashboard, into a single widget’s Settings gear, then Trigger, then “My Triggers” I see the list of all the triggers I’ve created.
Thx – still just playing, but considering how to use this to replace the REST API system I’ve been working on for some home automation/monitoring stuff. I’ll plan to share/submit once I have something real!
I think what you’re seeing (let me know if this doesn’t add up) is that the triggers view from a Project tab only shows triggers on your account if at least one side of that trigger is tied to a widget that is in your project view. I.e. if you have buttons A B C D on a ESP on your account, and the following triggers:
If A then B
If B then C
If C then D
If A then D
And you only drag Buttons A and D to the project view, then I’d expect you’ll see triggers number 1,3,4 from the project view Triggers button, but not trigger number 2.
You should always be able to view the full account triggers list from User Menu > Triggers and Alerts in the upper right, since it’s not filtering based on project.
Okay – that makes a bit more sense. The only trigger I used with any regularity was based on the “uptime” that my ESP was reporting using the Arduino millis() function. I had not brought the uptime widget over into my project, so it didn’t show up in the list.
That said, when I create a trigger within the project to do an action based on device online/offline, I would think that trigger would show up in the project. It’s not associated with any channel, rather with the device itself. For that matter, I’d expect any such triggers to show up under the project for any devices that had associated widgets as part of the project, no?
I did find the overall “Triggers and Alerts” in the rightside menu, and that works. I guess it’s still confusing to me when “My Triggers” within a project doesn’t show anything, but an identical-looking “My Triggers” button in the settings for a single widget shows all triggers, not just the ones for that widget.
I’m sure this all makes more sense to a more experienced Cayenne user; you’re getting my feedback as a new user finding where things are, FWIW.
I very much appreciate the feedback, and I think you’re on to a bug (or at least oversight here).
You’re right, I’d expect a device-level online/offline/shutdown/restart type trigger to appear in the project list if any of that device’s widgets are in the list. Further, it looks like triggers based on the default Raspberry Pi widgets that we create at install time aren’t showing up a project-based triggers list, even when that widget is explicitly dragged into the project.
By all means let us know if you have more feedback or suspected bugs, this is how we’re going to add polish to the product
Bumping this old thread to share that we’ve just provided support in our MQTT Arduino library for using ESP8266 as a shield We’ve done basic testing and works well. Give it a try for your project and let us know how it works out for you !
But it seems as though I then need to communicate with the ESP the same way I do my Bluetooth card with
Software serial and define which pins are to be used? See below ……
I guess what I’m missing in the Cayenne sketch is what #define ESPSerial Serial1 and ESP8266 wifi(&EspSerial) are doing, is it using default Arduino pins 2 and 3 like the Fritz diagram? The comment says hardware not software serial. I understand Cayenne.virtualWrite as I use that now to send in a Float temperature variable using the Ethernet w5100 shield, so I assume the virtualWrite is using the ESPSerial1 define?
#define EspSerial Serial1
ESP8266 wifi(&EspSerial);
void setup()
{
Serial.begin(9600);
delay(10);
// Set ESP8266 baud rate
EspSerial.begin(115200);
delay(10);