Announcement

Collapse
No announcement yet.

Wireshark? Need to figure out wifi protocol! (For Anova Precision cooker sous vide)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Wireshark? Need to figure out wifi protocol! (For Anova Precision cooker sous vide)

    My brother in law gave us a Anova Precision Cooker with Wifi, and the path to automate the kitchen is clear!

    The sous vide machine is Wifi capable and there's an app for Android and iOS. I've already been in contact with them requesting and API which they said was going to be released in "a couple of months", but as that was in march (and support can't promise anything), I think I need to do this myself. Looking at the code for the Smarter.am coffee machine and water boiler, I don't think the Anova protocol can be that difficult.

    But still: How do I go about this?
    How can I find the (presumably) binary codes that the machine uses?
    I can use Wireshark for wired units, but the phone and sous vide machine are wireless and Wireshark isn't picking up anything.


    Any pointers are most welcome!
    And yes, my plan is to write a plugin.
    HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
    Running on Windows 10 (64) virtualized
    on ESXi (Fujitsu Primergy TX150 S8).
    WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

    Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

    #2
    There are wireless add ons to wireshark. That said here wanted to play with the wireless DECT stuff and noticed much of this stuff is difficult to find.

    That said there are many ISO boot disk (all tools) out there in internet landia used for this sort of stuff.

    Off on tangent...(again?)....

    Googling found this one....Network Security Toolkit Note this is all encompassing.

    Check out a DIY SDR modded radio using a typical $10 USD EU style TV / radio USB stick. (modded of course).

    You can even sniff (out of curiosity) your local ISP connection and all of the folks using the internet next door to you with certain tools (not wireless).

    It used to be very mickey mouse where the typical ISP vendor left the defaults on (logon and pasword) for accessing their internet edge routers....funny in a way...but they assumed nobody was looking or even cared to look.
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
    HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

    HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

    Comment


      #3
      Originally posted by Moskus View Post
      My brother in law gave us a Anova Precision Cooker with Wifi, and the path to automate the kitchen is clear!

      The sous vide machine is Wifi capable and there's an app for Android and iOS. I've already been in contact with them requesting and API which they said was going to be released in "a couple of months", but as that was in march (and support can't promise anything), I think I need to do this myself. Looking at the code for the Smarter.am coffee machine and water boiler, I don't think the Anova protocol can be that difficult.

      But still: How do I go about this?
      How can I find the (presumably) binary codes that the machine uses?
      I can use Wireshark for wired units, but the phone and sous vide machine are wireless and Wireshark isn't picking up anything.


      Any pointers are most welcome!
      And yes, my plan is to write a plugin.
      Does the AP for your Wifi go through a switch, and does that switch have "mirroring" capabilities? That's what I do when I need to "sniff" a particular device. Have to have a managed switch typically though.

      Z

      Comment


        #4
        Pete, this is Wifi data I want to check. Some bytes are being sent on a port to an IP-address. I know the IP, but I don't know the port or the bytes. Trying to read the wireless signals (if I understand the link correctly) is cool, but I don't think it's for me...



        vasrc, I'm not sure if my Asus AC-RT66U can do that, but my router might change as soon as tomorrow! I'm told that this might be the way to go.


        ... and I've received a tip that this app (as the sous vide machine does have an Android app) might help:
        https://play.google.com/store/apps/d...rts.sslcapture
        HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
        Running on Windows 10 (64) virtualized
        on ESXi (Fujitsu Primergy TX150 S8).
        WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

        Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

        Comment


          #5
          Pete, this is Wifi data I want to check. Some bytes are being sent on a port to an IP-address. I know the IP, but I don't know the port or the bytes. Trying to read the wireless signals (if I understand the link correctly) is cool, but I don't think it's for me...

          Understood Magnus. Yeah you really just want to see the network traffic connected to the port on the network switch.

          as vasrc mentions best way to do this is to mirror the port to another port just to sniff the traffic. Typically this is a default feature on a managed switch.

          Typically the off the shelf combo router, switch, AP, firewall device doesn't offer port mirroring.

          That said Googling OpenWRT/DD-WRT indicates that you can do port mirroring with a modded to OpenWRT router and utilizing iptables' ROUTE target.

          For example (via command line)

          iptables -t mangle -A POSTROUTING -d 192.168.1.100 -j ROUTE --tee --gw 192.168.1.101

          iptables -t mangle -A PREROUTING -s 192.168.1.100 -j ROUTE --tee --gw 192.168.1.101

          This commands will make a copy of network traffic that have source and destination 192.168.1.100 and will send it to 192.168.1.101. On 192.168.1.101 can be run wireshark in order to sniff the traffic made by 192.168.1.100.

          You can use:
          iptables -t mangle -A POSTROUTING -d 0.0.0.0/0 -j ROUTE --tee --gw 192.168.1.101

          iptables -t mangle -A PREROUTING -s 0.0.0.0/0 -j ROUTE --tee --gw 192.168.1.101

          for copying all network traffic and sending it to 192.168.1.101, but i don't recommend it. You router will run slower. You should send only what you want to sniff.


          Here using el cheapo TP-Link managed 24 port Gb switches. Attached is what the GUI looks like to set up port mirroring. Switch is tiny and runs cool. I have one in the Leviton can, never gets hot.
          Attached Files
          Last edited by Pete; August 9, 2016, 01:30 PM.
          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

          Comment


            #6
            Much like a wired network card has to be placed in promiscuous mode a wireless network card has to be placed in monitor mode to gather packets from comms that it is not a part of. Getting into monitor mode is hardware and OS dependent so Wireshark doesn't do it for you while it usually does handle promiscuous mode. If your hardware is capable it is a quick Google and a command or two. Plus don't forget about the channels with wireless.

            Comment


              #7
              I'll look into the router option later tonight. There's a discussion whether my router (Asus AC-RT66) does support it with the Merlin firmware or not, but a fellow home enthusiast will introduce me to a MicroTik router later tonight that has this option.

              I WILL figure out how, somehow. The automatic kitchen is a dream that has to come true!
              HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
              Running on Windows 10 (64) virtualized
              on ESXi (Fujitsu Primergy TX150 S8).
              WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

              Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

              Comment


                #8
                did you work this out? im considering the bluetooth one. i realize thats a different set of issues but still.
                HS3 Pro on Windows 8 64bit
                53 Z-wave nodes(46 devices, 7 remotes), 15 DS10a's, 10 ms16a's, 9 Oregon Sensors, W800, RFXCOMtrx433, Way2Call, 3 HSTouch Clients, 2xRussound CAS44, Global Cache GC100-12,10 Rollertrol blinds(+ zwave) ,3 Squeezebox Radios and 1 Squeezebox Boom,DMX Arduino via ethernet,Rain8Net,3x Echo Dot's


                Check out my electronics blog here:
                https://www.facebook.com/RaptorsIrrationalInventions

                Comment


                  #9
                  No, I did not. At least not yet.
                  I upgraded my router to one that does support packet sniffing, only to discovered that the traffic is encrypted and sent to Amazons S3 service, because they want the app to work everywhere.

                  I see why, but I can't understand why they can't offer an API to the local network!


                  I would still get the Bluetooth+Wifi option. Because there is still a chance they will release an API in the future.
                  HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
                  Running on Windows 10 (64) virtualized
                  on ESXi (Fujitsu Primergy TX150 S8).
                  WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

                  Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

                  Comment


                    #10
                    One of the simplest ways to use wireshark, once you have a PC with a known-compatible Ethernet interface, is to use a 100mb Ethernet [b]hub]/b]. Not a switch.

                    With a hub all traffic is heard across all connected devices. This is generally not a desired situation, as collisions slow down network speeds. But for testing/sniffing with wireshark it's a great solution. Sniffing wireless traffic can be done by plugging a wireless access point into the hub and connecting any wireless devices through that. The advantage here is you don't have to do anything to configure anything other than having the access point temporarily on the hub. Nothing else needs reconfiguring.

                    Obviously, if you're using a router that has wifi built-in then you'd need to get a separate access point. Or hope to learn how to re-program it to allow sniffing traffic. That and you'd need to buy a hub.

                    Personally I find it simpler to take this transparent approach rather than the typically arduous and error-prone efforts to reprogram router networking tables.

                    Comment

                    Working...
                    X