All Projects → evanrich → py-eagle-mqtt

evanrich / py-eagle-mqtt

Licence: other
Python based Docker for Eagle to MQTT reader

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to py-eagle-mqtt

addon-tailscale
Tailscale - Home Assistant Community Add-ons
Stars: ✭ 47 (+235.71%)
Mutual labels:  home-assistant
ocpp
Home Assistant integration for electric vehicle chargers that support the Open Charge Point Protocol (OCPP).
Stars: ✭ 82 (+485.71%)
Mutual labels:  home-assistant
addon-home-panel
Home Panel - Home Assistant Community Add-ons
Stars: ✭ 164 (+1071.43%)
Mutual labels:  home-assistant
homeassistant-plant
Alternative Plant component of home assistant
Stars: ✭ 62 (+342.86%)
Mutual labels:  home-assistant
ha-iaquk
Indoor Air Quality Sensor Component for Home Assistant
Stars: ✭ 57 (+307.14%)
Mutual labels:  home-assistant
ha-car wash
Car Wash Binary Sensor for Home Assistant
Stars: ✭ 67 (+378.57%)
Mutual labels:  home-assistant
Xiaomi miot raw
Universal Xiaomi MIoT integration for Home Assistant
Stars: ✭ 240 (+1614.29%)
Mutual labels:  home-assistant
purifier-card
Air Purifier card for Home Assistant Lovelace UI
Stars: ✭ 155 (+1007.14%)
Mutual labels:  home-assistant
ha-illuminance
Home Assistant Illuminance Sensor
Stars: ✭ 53 (+278.57%)
Mutual labels:  home-assistant
esp8266-midea-dehumidifier
Cloud-free wifi dehumidification
Stars: ✭ 50 (+257.14%)
Mutual labels:  home-assistant
tuya-local
Local support for Tuya devices in Home Assistant
Stars: ✭ 150 (+971.43%)
Mutual labels:  home-assistant
node-homeassistant
Node.js wrapper for the home-assistant websocket api
Stars: ✭ 27 (+92.86%)
Mutual labels:  home-assistant
numberbox-card
Replace input_number sliders with plus and minus buttons
Stars: ✭ 61 (+335.71%)
Mutual labels:  home-assistant
home assistant tractive
Custom component for Tractive
Stars: ✭ 34 (+142.86%)
Mutual labels:  home-assistant
lovelace-valetudo-map-card
Draws the map available from a Xiaomi Vacuum cleaner flashed with Valetudo in a Home Assistant Lovelace card
Stars: ✭ 149 (+964.29%)
Mutual labels:  home-assistant
Hass Deepstack Object
Home Assistant custom component for using Deepstack object detection
Stars: ✭ 252 (+1700%)
Mutual labels:  home-assistant
tehybug
Low Power WIFI environmental data trackers based on ESP8266 Module
Stars: ✭ 15 (+7.14%)
Mutual labels:  home-assistant
hass-amplifi
A home assistant integration for Ubiquiti Amplifi
Stars: ✭ 17 (+21.43%)
Mutual labels:  home-assistant
tellstick-plugin-mqtt-hass
Plugin for tellstick, connect to homeassistant via mqtt with autodiscovery.
Stars: ✭ 25 (+78.57%)
Mutual labels:  home-assistant
ha-edgeos
Integration with EdgeOS (Ubiquiti)
Stars: ✭ 97 (+592.86%)
Mutual labels:  home-assistant

py-eagle-mqtt

Python3 based Docker for Eagle to MQTT reader

I have only ported this into a dockerfile, as well as made some changes to code for security or other purposes. All Original code is credit to Ted Drain - TD22057.

This project utilizes the following tools:

semantic-release Libraries.io dependency status for GitHub repo Gitlab pipeline status (self-hosted) Docker Pulls Docker Image Version (latest by date)

UPDATES:

2020-04-06: Moved Updates to a CHANGELOG.md file to clean this up.

Usage

docker create \ 
  --name=py-eagle-mqtt \
  -e MQTT_BROKER_IP=<broker ip address> \
  -e MQTT_BROKER_PORT=<broker port number> \
  -e KEEPALIVE=<keepalive time in seconds> \
  -e MQTT_USER=<username>
  -e MQTT_PASSWORD=<password>
  -p 22042:22042 \
  evanrich/py-eagle-mqtt

 

Parameters

Parameter Function
-e MQTT_BROKER_IP The IP address of your MQTT Broker
-e MQTT_BROKER_PORT The PORT your MQTT Broker listens on. Defaults to 1883 if not specified

Optional Parameters

Parameter Function
-e KEEPALIVE Keepalive time in seconds. Defaults to 60 seconds if not specified
-e MQTT_USER The User Name for your MQTT Broker if you use one. Defaults to None if not specified
-e MQTT_PASSWORD The Password for your MQTT Broker if you use one. Defaults to None if not specified

 

snippet from my MQTT Broker showing container connecting and dissconnecting when I start/stop it:

{"pid":1,"hostname":"mqtt-867c776494-6rc57","name":"mosca","level":30,"time":1535955884767,"msg":"client connected","client":"","v":1}
{"pid":1,"hostname":"mqtt-867c776494-6rc57","name":"mosca","level":30,"time":1535955905640,"msg":"closed","client":"","v":1}

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Original Readme as follows from creator, Ted Drain. You can view the original repo this is based on here: https://github.com/TD22057/T-Home

T-Home Automation Software

A collection of scripts and utilities for various home automation projects.

  • bin/ Command line tools
  • conf/ Sample config files
  • init.d/ Init.d style Linux start up scripts
  • python/ Main scripting library
  • systemd/ Systemd (latest Raspian) start up scripts
  • upstart/ Upstart (Ubuntu 14.04) style start up scripts

Currently most of the scripts read data from various sources and translate the data into JSON'ed dictionaries which get published to a MQTT message broker.

Rainforest Eagle Energy Monitor

http://rainforestautomation.com/rfa-z109-eagle/

python/tHome/eagle contains code for reading data directly from an Eagle energy monitor. Use bin/tHome-eagle.py to start a small web server and set the address as the "cloud provider" in the Eagle. The Eagle will publish energy data to the server which will converts it into a message and publishes that as a MQTT messages.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].