tag:blogger.com,1999:blog-1523577297508817869.post6629887431560390698..comments2024-03-20T07:42:58.329-04:00Comments on Wise time with Arduino: WiFiChron with software support for ESP8266FlorinChttp://www.blogger.com/profile/04330573900125042405noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-1523577297508817869.post-59096132595743101232019-07-19T13:07:02.686-04:002019-07-19T13:07:02.686-04:00Any smart Arduino programmer know if Nextbus queri...Any smart Arduino programmer know if Nextbus queries could be added to WifiChron? Here's a standalone Nextbus clock:<br />https://learn.adafruit.com/personalized-esp8266-transit-clock/software<br />TicTochttps://www.blogger.com/profile/08697719836710198011noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-6251288071378784822019-07-09T07:13:18.661-04:002019-07-09T07:13:18.661-04:00I honestly thought I did post the latest release o...I honestly thought I did post the latest release of the WiFiChron software. MikeM made a few adjustments and sent me in Jan 2019 a few files that he changed. I will make sure to post them.FlorinChttps://www.blogger.com/profile/04330573900125042405noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-74120469907461328852019-07-08T21:50:30.267-04:002019-07-08T21:50:30.267-04:00Hi, Florin.
I can no longer receive the weather re...Hi, Florin.<br />I can no longer receive the weather reports via RSS. Can you please update the WifiChron software with the RSS changes from the new Wise Clock software? Thanks!TicTochttps://www.blogger.com/profile/08697719836710198011noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-12806096080368905592019-07-04T01:48:16.618-04:002019-07-04T01:48:16.618-04:00Hi Jamal,
PC time is synchronized through the netw...Hi Jamal,<br />PC time is synchronized through the network/internet.<br />To sync with the PC, the clock must be either connected to the PC (USB cable) or to the internet.<br />If you don't want internet connection/wifi, you can resort to GPS.<br />I hope this helps.<br />FlorinCFlorinChttps://www.blogger.com/profile/04330573900125042405noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-16898463911344244872019-07-03T23:23:32.228-04:002019-07-03T23:23:32.228-04:00can you make change, it can syncronized with pc ti...can you make change, it can syncronized with pc time, no internet connectedjamalhttps://www.blogger.com/profile/08040526092807997091noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-8250784075445979872016-03-29T20:56:32.706-04:002016-03-29T20:56:32.706-04:00That sounds great! I appreciate Mike's and you...That sounds great! I appreciate Mike's and your effort.<br /><br />yahoo used to have a weather RSS/API (http://weather.yahooapis.com/forecastrss?w=24153215&u=c). It still looks active, but it seems it requires some sort of registration key.<br /><br />See this older post of mine:<br />http://timewitharduino.blogspot.ca/2012/01/adventures-in-wifly-land-part-1.html<br /><br />I have redesigned the WiFiChron to use ATmega1284 and I am testing it right now.<br />First thing I noticed is that the INPUT_PULLUP is not implemented correctly in the sanguino library. Plus others.<br />I will soon post my findings.FlorinChttps://www.blogger.com/profile/04330573900125042405noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-74166951178266775952016-03-29T16:39:33.230-04:002016-03-29T16:39:33.230-04:00Hi Florian, Mike has worked out all the bugs in th...Hi Florian, Mike has worked out all the bugs in the "WiFiChron" there are no more over lapping issues in the weather report, there was a issue with the IP address not showing up completely also, that too is fixed, the clock is totally bug free now..<br />i like how it operates now, great clock.<br />do you know of any other weather addresses that will work besides the weather.gov site ?<br />the weather.gov displays a bit too much useless info and i'd like to try some other sites, but i am not having much luck..<br /><br />BTW. for those of you using the weather.gov site, if you do not know how to get the correct weather for your area. you can find the local identifier for your local airport, and use this 4 letter character to use Ex. KFAY , KRDU, KLAX<br />( http://w1.weather.gov/xml/current_obs/KFAY.rss )<br />change the 4 letters just before the .rss to your local airport. then copy the address to your RSS URL window. hope this helps..Anonymoushttps://www.blogger.com/profile/18298211776605036095noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-24204165898423465592016-01-21T15:32:51.374-05:002016-01-21T15:32:51.374-05:00thanks...
i sent the fotos of the 4017 clock,, hop...thanks...<br />i sent the fotos of the 4017 clock,, hope you get them.<br />i'd like to try to make contact with "Mike M" also since he is only an hr away from me,, would be cool to meet someone new.Anonymoushttps://www.blogger.com/profile/18298211776605036095noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-86341135762761322452016-01-21T07:43:33.493-05:002016-01-21T07:43:33.493-05:00The KRDU location is MikeM's, the author of th...The KRDU location is MikeM's, the author of the software. I am in Toronto, Canada.<br />I will have to look at the code to see how the weather info is processed.<br /><br />Talking about the multiple displays, I managed to have 2 (of the parallel kind) connected to WiFiChron and displaying individual things. I have still to integrate the feature in software. I plan to write a post on it.<br /><br />For the GPS, check out this post:<br />http://timewitharduino.blogspot.ca/2015/03/modding-wifichron-with-gps-or-bluetooth.html<br /><br />or you can connect even one of the cheaper ($10 or so) GPS boards available on ebay. You will need to leave out the 2mm XBee headers if you want that GPS to fit in the box.<br />I have the code developed for the GPS.<br />FlorinChttps://www.blogger.com/profile/04330573900125042405noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-59127816748838900592016-01-21T07:32:41.936-05:002016-01-21T07:32:41.936-05:00Great job Ray!
You can send me photos at the email...Great job Ray!<br />You can send me photos at the email address you find in the right column at the top of the page (starts with someone).<br />FlorinChttps://www.blogger.com/profile/04330573900125042405noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-79695527753888978932016-01-20T22:35:37.939-05:002016-01-20T22:35:37.939-05:00thanks for all your help..i have learned a lot in ...thanks for all your help..i have learned a lot in the past 2 weeks.<br />i am always fascinated of unique clocks.<br />if i had a way to send you pictures, i want to show you a dumb clock i built. looks awsome, but it's time is dependent on the 60Hz AC. and it runs only on 4017 IC'sAnonymoushttps://www.blogger.com/profile/18298211776605036095noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-36646412672192343512016-01-20T22:30:21.852-05:002016-01-20T22:30:21.852-05:00yes i think your right, it only syncs the minutes ...yes i think your right, it only syncs the minutes and seconds. it will not set the clock automatically. <br />i fixed my connection issue by changing my router name.<br /><br />how does the RSS URL work ? i used the weather link you posted, all i changed was my location (KFAY) i see you had KRDU which is very near me.<br />are you in NC ?<br />anyway..what all should the weather link show ?<br />or is that not in the code yet ?<br /><br />i have dreams to use a bunch of green alphanumeric leds i have here. for another clock.<br /><br />how or what has to be done to connect a GPS to the wifichron? i have a Neo-6 on another clock i have - it is 10" digits x6 and gets its time from GPS.Anonymoushttps://www.blogger.com/profile/18298211776605036095noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-7566586564093203512016-01-19T17:01:52.464-05:002016-01-19T17:01:52.464-05:00Hi Ray,
I was going to suggest you do that (trying...Hi Ray,<br />I was going to suggest you do that (trying to connect to another WiFi).<br />The up arrow means connected and, supposedly, synchronized. I have to look at the code to see how time is synchronized (it may be only the minutes and the seconds).<br />As for the +, I think the only option at this point is just modifying/fixing the code and upload to the processor.<br /><br /><br />FlorinChttps://www.blogger.com/profile/04330573900125042405noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-22145062040046343892016-01-19T12:43:34.655-05:002016-01-19T12:43:34.655-05:00Florian.. i tried something new today.
i brought t...Florian.. i tried something new today.<br />i brought the clock to work and tried to connect to the wifi here.. it seems to have finally connected.<br />so i know now that the wifichron does not like SSID's with spaces in the name, i think there needs to be a update or something, so that it does not fill in spaces with +'s<br />right now my clock is showing me with a connected IP of 192.168.1.112<br />and after it shows the date there is a "up arrow" i do not know what it means but i assume it means i am connected to the router now ? <br />the clock has not updated yet, but i'll let it go over night and see what it does the next day.. hopefully i see the correct time and date.. BTW the router shows the IP i mentioned, so that is a plus..<br />please advise what can be done about the +'s in the SSID resolve is.. and what is the meaning of the "up arrow" after the date.. thanks..Anonymoushttps://www.blogger.com/profile/18298211776605036095noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-38262411334608531452016-01-13T19:51:53.459-05:002016-01-13T19:51:53.459-05:00Hi Ray,
The "RSS feed" is an XML page re...Hi Ray,<br />The "RSS feed" is an XML page received when you access an URL. For example, try this (default) RSS in the browser to see the XML:<br /><br />http://w1.weather.gov/xml/current_obs/KRDU.rss<br /><br />Once received, the XML is parsed (as string) to find the temperature.<br /><br />All I know is by looking at the code, which is not written by me. The commands for the WiFi module are all found in the file ESP8266.cpp.<br />The commands are sent in state-machine sequence. Once a command is sent, the machine state is changed to the next one.<br />Take for example the commands for the SNTP server lines 871-907):<br /><br /> case ESP8266_CIPSTART_SNTP:<br /> Serial.print(F("AT+CIPSTART=4,\"UDP\",\""));<br /> cp = (uint8_t *)EEPROM_SNTP;<br /> while((cp < (uint8_t *)EEPROM_RSS)<br /> && ((c = eeprom_read_byte(cp++)) != 0)<br /> && (c < 127)) {<br /> Serial.write(c);<br /> }<br /> Serial.print(F("\",123\r\n"));<br /> sntpStat = 1;<br /> timeNextSntp = ms + (random(1024, 2048) * 2048); // 35 - 69 minutes later<br /> timeCloseSntp = ms + 5000; // close this connection in 5 seconds<br /> nextState = ESP8266_CIPSEND_SNTP;<br /> timer = ms + 500;<br /> timerActive = true;<br /> break;<br /><br /> case ESP8266_CIPSEND_SNTP:<br /> memset(msgBuf, 0, 48);<br /> mPos = 0;<br /> msgBuf[0] = 0x1b;<br /> Serial.print(F("AT+CIPSEND=4,48\r\n"));<br /> delay(5);<br /> Serial.write(msgBuf, 48);<br /> sntpStat = 2;<br /> nextState = ESP8266_NOOP;<br /> timer = ms + 500;<br /> timerActive = true;<br /> break;<br /><br /> case ESP8266_CIPCLOSE_SNTP:<br /> Serial.print(F("AT+CIPCLOSE=4\r\n"));<br /> sntpStat = 0;<br /> nextState = ESP8266_NOOP;<br /> timer = ms + 500;<br /> timerActive = true;<br /> break;<br /><br />The first state is "ESP8266_CIPSTART_SNTP". To start the SNTP comm, send command <br /><br />AT+CIPSTART=4,"UDP","pool.ntp.org",123<br /><br />Next command (in state "ESP8266_CIPSEND_SNTP") is:<br /><br />AT+CIPSEND=4,48<br /><br />Then (state "ESP8266_CIPCLOSE_SNTP"):<br /><br />AT+CIPCLOSE=4<br /><br />I'm not very familiar with the AT coomands for ESP8266, but, if you send these commands you should get a string back from the NTP server. That string is then decoded and the time is extracted from it.<br />FlorinChttps://www.blogger.com/profile/04330573900125042405noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-30401213254480203742016-01-13T14:02:12.538-05:002016-01-13T14:02:12.538-05:00i did all that the page shows here, but it does no...i did all that the page shows here, but it does not update.<br />everything is filled in correctly as your screen shot shows in the wifi set up.<br />i know you said that filling in the SNTP and the RSS url were optional.<br />( "You can also configure an optional SNTP host for synchronizing time and an optional RSS URL.) so does leaving this blank have any effect on time setting? or does it have to be filled in to get time? ( mine is filled in )<br />as for the RSS feed,, what is this supposed to show on the clock ? temp? or more ?<br />thanks,<br />i look forward to talking to you soon.Anonymoushttps://www.blogger.com/profile/18298211776605036095noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-47825562145287026532016-01-10T08:42:57.123-05:002016-01-10T08:42:57.123-05:00How far did you get with the wifi setup?How far did you get with the wifi setup?FlorinChttps://www.blogger.com/profile/04330573900125042405noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-79581642296407300492016-01-10T08:42:05.123-05:002016-01-10T08:42:05.123-05:00The current code queries the SNTP server every 12 ...The current code queries the SNTP server every 12 hours (line 320 of esp8266.cpp).<br />The time from RTC is queried many times every second (in the main loop()).<br />As for the WiFi setup, here is s tidbit from the comments of the beginning of the wifichron.ino:<br /><br />Clicking on the "Submit" button will send the configuration to the WiFiChron<br />system, which will write it into its flash. If you check "Activate" before<br />submitting, the WiFiChron will immediately switch out of access-point mode and attempt to connect to the SSID/key that you've entered. <br />FlorinChttps://www.blogger.com/profile/04330573900125042405noreply@blogger.comtag:blogger.com,1999:blog-1523577297508817869.post-49766755409158516392016-01-09T23:44:47.367-05:002016-01-09T23:44:47.367-05:00how often does the wifichron query the time etc ?
...how often does the wifichron query the time etc ?<br />how many times a day?<br />also is it supposed to update immediately once you click the activate / submit button ? Anonymoushttps://www.blogger.com/profile/18298211776605036095noreply@blogger.com