HI!
Lately I was testing the tzapu code that integrates the wifimanager with Blynk. I would like to do an equal version but with Cayenne.
This is the code
For those who do not know Wifimanager, it is an incredible tool that creates an interface for the user to configure the wifi data.
Https://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
What I was reading is that Cayenne is not as versatile as Blynk, but as Cayenne uses blynk libraries I imagine it can be done.
Anyone have ideas how to migrate that code to work with Cayenne?
Thanks!
I have Sonoff modules on Cayenne. I’ll eventually post a how to…
1 Like
0lab
April 19, 2017, 9:41pm
3
For use wifimanager library you can modify this:
/*
The MIT License(MIT)
Cayenne Arduino Client Library
Copyright � 2016 myDevices
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files(the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This software uses open source blynk-library - see blynk-library/LICENSE
*/
#ifndef _CAYENNEWIFICLIENT_h
This file has been truncated. show original
on Cayenne library.
So,
I made some changes and I was successful! I could connect cayenne with that code.
I´ve made you can add the data (ssid and pass token) once the code is loaded
I’m going to make some more adjustments and I’ll upload it
Thanks 0lab!
2 Likes
wj4me
December 24, 2017, 8:03pm
5
Hi @cfieiras any place where I can find your upload, much appriciated.
1 Like
kreggly
January 12, 2018, 10:00pm
6
I’d try and get this working Tasmota/README.md at development · arendst/Tasmota · GitHub
Improvements have been made to free up program space so potentially the longer credentials will work now.
I’ll try and free up some time to test this weekend.
Cheers,
Craig
1 Like