Page 1 of 13 12311 ... LastLast
Results 1 to 10 of 129

Thread: The LinkMeter Snapshot and YOU

  1. #1
    TVWBB Honor Circle Bryan Mayland's Avatar
    Join Date
    Apr 2010
    Location
    Tampa, FL
    Posts
    4,550

    The LinkMeter Snapshot and YOU

    Between LinkMeter releases, some stuff slowly gets added until I have enough to say "That's a good stopping point!". I've forgotten what's in the current snapshot so I'm making a thread to remind myself.

    • Control probe is no longer PIT, now uses first non-disabled probe. Note that a probe reading "Off" isn't disabled, only probes with their type set to DISABLED count as disabled.
    • Stored up PID[I] sum doesn't reset when changing the I coefficient any more unless you change the PID[I] to 0.
    • Updated Pi firmware to support Raspberry Pi B+/A+/Zero.
    • Fix alarm scripts page deleting the second script every time you try to add more than one.
    • Prevent low current fans from oscillating between very low and very high voltage.
    • "Reset Configuration" from the HeaterMeter now resets the OpenWrt configuration back to default as well.
    • Option for filtering out 50Hz/60Hz line noise on the probes for more stable readings.
    • Last high and low Pit peaks information added to tooltip on home page.
    • Ramp (and hold) mode for slowly shutting down the grill at the end of a cook.
    • Pushbullet and Pushover notifications for alarms.
    • Proper https support in curl utilities if you need that for your scripts.
    • Servo now moves a constant speed to its destination and holds for 2 seconds before de-energizing. Small moves are held off for up to 10 seconds from any previous move to reduce servo chatter.
    • Replace fan "on at max only" with "fan on above" to allow finer control of when the fan is used.
    • Servo can be set to max open at any PID percentage, not just 1% (Full open/close option removed)
    • Updated Steinhart coefficients for Maverick ET-732 and Thermoworks TX-1001 based on 1000+ point thermocouple correlation 80F to 400F.
    • PID B has been removed from both the UI and the firmware. The PID I term should provide the same functionality
    • Prevent the browser from getting bogged down the more times you updated configuration without a page reload occurring
    • Register the hostname from the system configuration if one is not specified in the dhcp client configuration
    • Added support for loading wifi settings from config.txt
    • Added luci-app-commands package for running shell commands without having to ssh in
    • Added some small menu acceleration to the HeaterMeter device menu. Holding the button down will get you the first 4 ticks at normal speed, then 4 double speed, and the rest quad speed. e.g. the SetPoint is 5 degrees, 5, 5, 5, then 10 degrees, 10, 10, 10, then 20 degrees, 20, 20, 20...
    • Fixed not being able to dismiss graph "tooltip" popup on touch devices.
    • The integral sum, PIDI, could go negative when decreasing the setpoint, which would extend undershoot recovery times. Fixed.


    To install the snapshot firmware, just go to System -> Backup / Flash Firmware and put the snapshot url in the "Image URL (.gz)" box. This will also update your HeaterMeter's AVR Firmware to the snapshot as well.
    http://heatermeter.com/devel/snapsho...openwrt-rpi.gz

    Advanced
    There are actually multiple possible snapshots. There are three parts to every release
    • AVR Firmware - this runs on the microcontroller and is all of what "HeaterMeter" does. This can be updated by itself from the "AVR Firmware" page in the webui "From online repository"
    • LinkMeter package - this is the service that generates the webui for HeaterMeter, stores the data in the database, and allows you to control it from the web. This can be updated separately from the System -> Software and use the url from the package snapshots directory. Includes an AVR firmware but not necessarily the latest snapshot.
    • The OpenWrt image - This is the whole OS image that replaces all the files on the SD card (except your config if you want to keep it). Includes a LinkMeter package, which is usually the latest snapshot (because they are built at the same time). This can be updated from the System -> Backup Flash Firmware page as detailed above.
    Last edited by Bryan Mayland; 02-03-2016 at 09:08 AM.

  2. #2
    TVWBB Super Fan Jas E's Avatar
    Join Date
    Jul 2015
    Location
    BC, Canada
    Posts
    308
    Thank you for all the work you've been doing on this. I especially appreciate the inclusion of the updates to "Attitude Adjustment" that enable support for the rPi B+!

  3. #3
    TVWBB Fan
    Join Date
    Jun 2012
    Posts
    184
    Quote Originally Posted by Bryan Mayland View Post
    Between LinkMeter releases, some stuff slowly gets added until I have enough to say "That's a good stopping point!". I've forgotten what's in the current snapshot so I'm making a thread to remind myself.

    Stored up PID[I] sum doesn't reset when changing the I coefficient any more.
    First of all thanks for all your work! The only issue with this feature is it was making it hard to PID tune the other day; still never got it. I kept having to unplug the HM to clear I.

  4. #4
    TVWBB Honor Circle Bryan Mayland's Avatar
    Join Date
    Apr 2010
    Location
    Tampa, FL
    Posts
    4,550
    On the same page, you can click the "Reset AVR" button which clears the I as well.

    I removed the clearing of the I because someone else had said the same thing you did, which is that it is easier to tune the I if it doesn't clear. I can see it both ways, so I removed the clearing code because it is simpler and there's a way to clear the Isum but no way to set it.

  5. #5
    TVWBB Fan
    Join Date
    Jun 2012
    Posts
    184
    Quote Originally Posted by Bryan Mayland View Post
    On the same page, you can click the "Reset AVR" button which clears the I as well.

    I removed the clearing of the I because someone else had said the same thing you did, which is that it is easier to tune the I if it doesn't clear. I can see it both ways, so I removed the clearing code because it is simpler and there's a way to clear the Isum but no way to set it.
    Gotcha, thanks!

  6. #6
    TVWBB Guru Steve_M's Avatar
    Join Date
    Jul 2013
    Location
    Toronto
    Posts
    2,021
    Have there been any other PID changes in the last few months? I was pretty certain that my PID of 3, 0.008, 3 were my ideal settings, but I had to dial I back to 0.003 to stop those crazy oscillations.

    I've even got them saved here from February and it shows "&pidb=0&pidd=8&pidi=0.008&pidp=3"

  7. #7
    TVWBB Fan
    Join Date
    Dec 2014
    Location
    Dallas
    Posts
    111
    Bryan, didn't you say that there was an auto PID thing going on in the newer snapshot too or is that something else?

    Thanks again for all of the hard work.

  8. #8
    TVWBB Honor Circle Bryan Mayland's Avatar
    Join Date
    Apr 2010
    Location
    Tampa, FL
    Posts
    4,550
    I've updated Steinhart coefficients for Maverick ET-732 and Thermoworks TX-1001 based on 1000+ point thermocouple correlation 80F to 400F as well, this was in the last update Monday. Note that they've changed very slightly and they still don't read the same at room temperature, go figure. You gotta remember that they now correlate better across the entire range, which doesn't necessarily mean they read the same at every temperature.

  9. #9
    TVWBB Honor Circle Bryan Mayland's Avatar
    Join Date
    Apr 2010
    Location
    Tampa, FL
    Posts
    4,550
    Quote Originally Posted by JayC View Post
    Bryan, didn't you say that there was an auto PID thing going on in the newer snapshot too or is that something else?
    I said that the peaks plugin was needed for PID autotuning but autotuning is a maybe-never feature because it just doesn't work. PID tuning works great on things that have reliably reproducible results. In a grill, it takes 5-30 minutes to make one cycle and in that time the conditions inside the fire may have changed which means that the control you started with is different than what you're observing now. Doing step-impulse PID tuning doesn't really work because if I set the blower 100% and wait for it to pass the setpoint, then turn it off and time how long it takes to come back down past the setpoint... you could be looking at an hour and in that time, the fire might have gone out from being choked off completely.

    What you can do in the meantime if you want to see how worthless it is, set your P to like 10, I and D to 0. Wait until you start getting oscillations (at least one full high-low-high). Then look in the system log and it will tell you what your PID constants should be.
    Code:
    Sep  7 23:27:40 OpenWrt user.warn lucid[1228]: New 1 peak @1441668384=246.1 half=135 per=596 amp=4.6 gain=-0.4
    Sep  7 23:27:40 OpenWrt user.warn lucid[1228]:   Ziegler P=2.4 I=0.008 D=6.0
    A positive gain indicates your P is too high, a negative gain indicates your P is too low. You want at least "some" amp (amplitude), maybe 5? And a gain less than 1 "probably". Everything in quotes here because it doesn't really work manually, so there's no way to program it to be automatic if even a human can't make the right choices.

  10. #10
    TVWBB Diamond Member
    Join Date
    Apr 2013
    Location
    midwest
    Posts
    3,543
    Since you've been delving more into the HM software development these days I thought I would ask, or suggest...
    Could you perhaps add a way to select and upload an image to the SD Card so users could customize their background easier? (without having to use PUTTY or whatever)
    I was just thinking that it would be nice if members of the HM community could create their own custom HM themes to share, which is super easy now with the addition of the user CSS tool... everything except uploading that custom background image. I guess you can use a web image, but then you need to always have internet access on the HM... and people seem to have trouble posting images here in the forum which is essentially the same skill you would need to make a web background appear on the HM home page.
    It would seem much easier if on the User CSS page there were a button to "Upload Image" that would allow you to select an image on your hard drive and upload it to the SD Card to use as the custom background. It's a small and functionally useless detail really, but I think it is something people will enjoy, because they can easily personalize their HM display which is something I think most users would get a kick out of.... if it was as easy as say updating a Facebook Profile Pic. Click, select, done...
    I created the Roto Damper, RD3, HMv4.2 sliding back case, "air-burner" and the "ping-pong" valve in my quest for delicious "set and forget" BBQ.

Page 1 of 13 12311 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •