Hello. There are three main sections to this site.

Source code: More and more of the code will be published to github.


Beta

August 23, 2009

Enable some debug output when a custom tweet is sent

Version 2.6.0.249

July 31, 2009

JSON support.

To request the current Stoker status in JSON format, "GET" the page at "http://stoker_ip/stoker.json". The format is:

        { "stoker" : {
            "sensors" :
                [
                    { "id" : id, "name" : name, "al" : al, "ta" : ta, "th" : th, "tl" : tl, "tc" : tc, "blower" : blower_id },
                    ...
                ],

            "blowers" :
                [
                    { "id" : id, "name" : name, "on": on },
                    ...
                ]
            }
        }

The idea is this:

To "POST" data, the JSON body should look exactly like the Stoker object above. The only difference is that the "POST" handler will ignore the read-only attributes.

For the sensor entries, the POST handler will ignore the tc field. For blower entries, the POST handler will ignore the on field.

If the POST succeeds, then the HTTP status code of 200 will be returned with nothing in the HTTP body. If the POST fails, status code of 400 will be returned and the body wil contain this JSON message:

        { "stoker_response" : "Failed" }

Version 2.6.0.226

When POSTing, use http://stoker_ip_address/stoker.Json_Handler

July 27, 2009

There's one more small development project I'm working on and that's to bring JSON support for web access.

After that, I think it's best to stop adding new stuff and fix the broken stuff. There are two major concerns I would like to address.

July 24, 2009

Create a read-only page. The settings are at ro.html. This new web page will allow Stoker to serve up a non-modifiable web page. When you enable the "read-only" mode, the regular web page will have all of its input boxes disabled. When you enable read-only mode, you will need to supply a password. To disable read-only mode, uncheck the read-only box and input the proper password. If you forget the password, then you will have to clear out the database; this will mean you will lose all of your custom settings.

Enable DNS and gateway fields for static IP addresses. To use these settings properly, you must first modify the DNS, gateway, and mask settings, and then at the end set the static IP address.

Fix alarm strings on Twitter.

Clean up output on telnet so that StokerLog will not lose connection.

Version 2.6.0.221

July 21, 2009

More info for Twitter support on the Stoker.
Tweets will only work if you are using DHCP on the Stoker. The reason is there are bugs in using static IP addresses where the user cannot specify the gateway IP or the DNS IP addresses. Until this is fixed, the only way to set these values is to use DHCP.

July 21, 2009

Minor updates.
Add a new field for one-time custom tweets at twitter.html
No need reboot after twitter settings changes.
Fix serial number display on web page.
2.6.0.200

July 21, 2009

For those of you who have enabled Twitter on the Stoker, please note that:

Twitter will ignore attempts to perform a duplicate update. With each update attempt, the application compares the update text with the authenticating user's last successful update, and ignores any attempts that would result in duplication. Therefore, a user cannot submit the same status twice in a row. The status element in the response will return the id from the previously successful update if a duplicate has been silently ignored.

This is quoted from here. This means that if the temps are the same between two intervals, then the new update will be ignored because the update will be the same as the previous.

July 21, 2009

Enable FTP server with static IP
2.6.0.194

July 5, 2009

More fixes for StokerLog
2.6.0.193

July 5, 2009

Revert web page to maintain compatibility with StokerLog. Twitter settings have now been moved to twitter.html.

So, let's say your Stoker IP address is 192.168.1.10. And usually, you access the web page with "http://192.168.1.10". Now, the Twitter settings are located at "http://192.168.1.10/twitter.html"
2.6.0.191

June 29, 2009

Minor Twitter changes
2.6.0.188

June 27, 2009

Enable Twitter support.

This will allow the Stoker to send tweets to any specified Twitter account. There will be a tweet generated every time an alarm condition is set/cleared and there will be a tweet at regular intervals. The frequency of these periodic updates is user defined.

Warning: Please be extremely careful using this. There are several security pitfalls that the user needs to be aware of. Basically, the entire process is vulnerable. Yikes! I'm no security expert, but these are some thoughts the user should be aware of.

  1. The user will need to enter the Twitter account name and password into the Stoker webpage. The connection between the web browser and the Stoker during the operation is NOT secure. This means the account name and password can be sniffed out while submitting the info to the Stoker.

    If this is of concern, make sure there is a direct wired Ethernet connection between the Stoker and the computer - no wireless, no switches, no hubs, no routers.

  2. The Stoker stores this information in non-volatile memory. The Stoker software will never publish this information. But Mr. Evil Hacker-man could potentially break into your house, steal your Stoker, unsolder the non-volatile memory, disassemble the executable, and then extract the info from the chip. But man, that's a lot of work.

  3. The Stoker uses Basic Authentication to send the tweet. This effectively means the Stoker sends the account name and password in raw text direct to Twitter.com. Please see the Twitter API docs regarding basic authentication.

    Since this request uses the Internet, this means the account name and password are vulnerable to anyone sniffing the traffic.

Not exactly a happy set of thoughts. Kinda sucks to be the party-pooper, but there are some things you can do to minimize the risk.

  1. Create a new Twitter account just for the Stoker.
  2. Try to limit any type of personal info on the Stoker profile.
  3. Create a totally new password for the account. Use any strong password generator site to create the password. Here's a Google search.

Usage: After upgrading, with your new Twitter account strong password in hand, open up the Stoker webpage, and click on the check box labeled "Show Twitter options".

2.6.0.182

March 22, 2009

Bug fixes for min/max duty cycle
2.6.0.101

March 8, 2009

Update for new commands.
2.6.0.99
Socket Test

March 5, 2009

Updates to the socket command set. Added CMD_ID_HTTP_PORT, CMD_ID_DUTY_CYCLE_MIN_MAX, and CMD_ID_DUTY_CYCLE_TIME_SLICE.

February 24, 2009

Fix output to be backwards compatible with StokerLog. 2.6.0.67

February 17, 2009

The previous example had some problems on certain computers and so I have reverted from Winsock2 back to Winsock 1.1 and that seems to work. Here is the new example: socket_test_wsock1.1.zip

February 13, 2009

Found a divide-by-zero problem. This problem causes abrupt termination on the socket whenever the CMD_ID_DUMP_ALL command is issued while a switch is plugged in.

Here's the fix: 2.6.0.63

February 12, 2009

Updates to socket control syntax.

WARNING: Still in alpha.

Here is the initial alpha release: 2.6.0.57

Here is some code written to test it: Example

February 5, 2009

Here's a preliminary look at the socket control syntax.

January 29, 2009

I'm rewriting all the socket control stuff. It was originally kinda hokey.

Releases

Here are the latest versions of the Stoker software.

WARNING: In the event of a catastrophic error, you will need to get your Stoker reprogrammed at Rock's Bar-B-Que. This will be at your expense and there is no guaranteed turnaround time.

So, if you're planning a special cook for an upcoming event, I highly suggest you wait until your cook is complete before attempting any upgrade.

Version 2.1.321 (June 23, 2009)
Version 2.1.300 (August 6, 2008)
Version 2.1.287 (June 20, 2007)

Documentation





Questions or comments? Let us know!