{"id":13745140,"url":"https://github.com/eyepaq/insteon-as3","last_synced_at":"2025-05-09T04:34:09.816Z","repository":{"id":217648263,"uuid":"2691839","full_name":"eyepaq/insteon-as3","owner":"eyepaq","description":"ActionScript Insteon code","archived":false,"fork":false,"pushed_at":"2011-11-02T01:33:42.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-03T05:05:43.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eyepaq.png","metadata":{"files":{"readme":"readme.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-11-02T00:18:29.000Z","updated_at":"2024-08-03T05:05:43.919Z","dependencies_parsed_at":null,"dependency_job_id":"7ae44a8e-35a7-4b38-96d4-53e9d12b718c","html_url":"https://github.com/eyepaq/insteon-as3","commit_stats":null,"previous_names":["eyepaq/insteon-as3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyepaq%2Finsteon-as3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyepaq%2Finsteon-as3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyepaq%2Finsteon-as3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyepaq%2Finsteon-as3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eyepaq","download_url":"https://codeload.github.com/eyepaq/insteon-as3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224819825,"owners_count":17375340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:23.287Z","updated_at":"2024-11-15T17:31:24.223Z","avatar_url":"https://github.com/eyepaq.png","language":"ActionScript","funding_links":[],"categories":["Unsorted"],"sub_categories":["Other API"],"readme":"MeterX\nby Steve Tibbett (stevex-github@gmail.com)\n\nThis is a fairly simple program that was intended to be the start of something bigger.  \n\nIn it's current form, it's an Insteon PLM (PowerLineModem) protocol client that uses a TCP\nconnection to an Insteon 2412N device to send commands over the power line / wireless mesh \nto an Insteon iMeter Solo (2423A1), to retrieve the current power consumption in watts of \nwhatever device is connected to the iMeter.  It retrieves the watt usage and displays it \nin a huge number on the display of whatever is running the app.\n\nIt's a Flex Mobile app, and the intention was to build this for Android and iOS as an app \nthat would let you monitor power consumption from anywhere in your house (or beyond, \ndepending on your network configuration).\n\nBut, as I discovered once I acquired a few other Insteon devices, my house is not Insteon \ncompatible.  Insteon requires specific wiring, with line, load, neutral and ground all \navailable at the switch, and my house isn't wired that way.  (Our last house, which was \nbuilt new, was wired for Insteon because I had that written into the plans).  \n\nSince I'm not building out an Insteon network at home, I'm not going to pursue the Insteon \nsoftware I was building.  So I'm releasing the code, as-is, for others to hopefully use as \na starting point.\n\nTo use the included app, assuming you have the required hardware, entere the Insteon\naddress (the 3 byte hex value) of your iMeter Solo in the powerMeterAddress field of \nModemController, enter the IP address of your 2412N in AppModel's constructor, and\nthat's it - you should have an app that can show you power consumption in watts, updated\nevery 5 seconds, of whatever device is plugged into the iMeter. \n\nThere are a few useful things here:\n\napp.insteon.PowerLineModem\n\n\tThis class will connect given a host and port number, to a 2412N.  The 2412N\n\toffers PLM through TCP, but in a shaky, undocumented form.  The only really shaky\n\tthing about it is that it only supports one client, so I had planned to create a\n\tmultiplexer that would let other home control software connect as well as this\n\tapp and any other, but that didn't get off the ground.\n\t\n\tBut this class does understand how to send and receive Insteon packets, including\n\tassembling incoming variable length packets.\n\t\napp.insteon.ModemResponseParser\n\n\tThis class, in conjunction with the insteon.xml file, can parse an Insteon command\n\tor response to determine the type and fields.  It understands that packets can\n\tbe varying sizes based on what bits are set in what bytes, so the file includes a\n\tmechanism for inspecting the packet bytes received so far to determine how many\n\tmore bytes to expect for a given packet.\n\t\ninsteon.xml\n\n\tThis is an XML representation of a lot of a lot of information about Insteon packets\n\tfor various devices.  Hopefully it's somewhat self-explanatory.\n\nSome useful links for anyone doing Insteon development:\n\nhttp://sharpeespace.blogspot.com/2011/03/insteon-2412n-protocol.html\nhttps://github.com/zonyl/pyinsteon/blob/master/src/pyinsteon.py\nhttp://www.insteon.net/pdf/INSTEON_Command_Tables_20070925a.pdf\nhttp://www.aartech.ca/docs/2412sdevguide.pdf\n\nGood luck; I hope someone finds this useful.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyepaq%2Finsteon-as3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feyepaq%2Finsteon-as3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyepaq%2Finsteon-as3/lists"}