@breimann sorry bud, got a few other projects on the go, so can't really help. But It could possibly be a mysenors library version thing. I think the original code was made for 1.5, i reckon try that. ... the oled thing, also depends on your coding ability, if you good probably easy. If not might take a bit more time. By any chance have you thought about a shop bought thing, just for local display, would make things simpler.
Posts made by Lendog
-
RE: ESP8266 as WiFi gateway & controller & node
-
RE: ESP8266 as WiFi gateway that posts to Thingspeak
I've created a new branch at
I feel a bit slack not properly testing it yet and putting it online, but it compiles fine just haven't loaded it on or tested with sensors. Might need to look into updating a sensor or 2 to run on the new libary
-
RE: ESP8266 as WiFi gateway that posts to Thingspeak
Thanks. Might try to updated it in the next few days if I get a chance. Think the original library I used was 1.5.1 if that's any help
-
RE: ESP8266 as WiFi gateway that posts to Thingspeak
It should work. If it doesn't let me know and I may have a look at it.
But I've been happy with it, once i got it sorted I haven't looked at the code since. Haven't needed to
-
ESP8266 as WiFi gateway that posts to Thingspeak
Thanks to Hek/Yveaux/nikil511 I’ve got an ESP8266 wifi gateway that posts sensors readings directly to thingspeak without need for a computer
At the moment my code is setup for sending temperature and wind speed readings to two separate thing speak channels. It could be easily modified for single or even more channels or diffrent data
I have only changed the original Esp8266Gateway.ino code but have included the GatewayUtil.h in it for completeness. Also note it requires all the same mysensor library’s etc.
The code can be found here
https://github.com/Lendog/Mysensors-ESP8266-Wifi-gateway-post-to-thingspeakOne thing to note: is thingspeak requires 15 second wait before readings. This is handled on the sensor side and not on the esp8266. I think readings just don't get posted if it’s less than 15 seconds, this is not critical in my application so i haven’t worried about investigated alternative solutions.
Would be awesome if part of the code gets integrated into the original, as posting to thingspeak maybe beneficial to other users.
also my wificheck is handled slightly differently. I've heard the esp locks up if no valid connection and http post occurs. Haven’t tried it, I just figured it’s good to check first before posting.
Anyway hope someone else may find this useful.
-
RE: ESP8266 as WiFi gateway & controller & node
@nikil511 & @hek want to say thankyou for your code. Its been really useful. my eps8266 is now running as a controller and posting readings to thingkspeak. Without the need for a computer turned on, so its been really useful. thanks
Are you still having range issues? I would recommend trying a to make a dipole first. They are simple and work well. They do need to be keep in the same polarisation or will attenuate the signal.
If still having range issue you could try a direction antenna after that.Also if the floors have steel reo, that maybe blocking the signal, going for a longer wavelength frequency might not be the best option.
Also FYI helix/coil antennas reduce signal strength. Unless the antenna needs to be compact, i would avoid that.
If you still need help let me know
-
RE: [Tutorial] How to burn 1Mhz & 8Mhz bootloader using Arduino IDE 1.6.5-r5
Nice work.... that would have been handy a few days ago i had to figure out burn bootloader as well
If its any help to anyone else. the setting bootloader.extended_fuses=0x04 - changes the BOD to 4.3v
Had to use it on a 5v board as the original 2.7v caused lockups when had low voltage (was running board off solar panel)