gussyh / hass-telebot Goto Github PK
View Code? Open in Web Editor NEWBot for the Telegram messaging platform providing an interface to the Home Assistant automation system
Bot for the Telegram messaging platform providing an interface to the Home Assistant automation system
Currently the states you care about (that are returned by the /states command) are defined as a list in the code.
This list should be defined in the config file.
As per title... I'll see what I can do
Currently you can specify 1 chat_id in the config file and Telebot will only reply to messages from that one chat.
You might want to use the bot in both a group and in private 1-1 chat, so we should change the config to a list of chat_ids and check the list in the code.
Also means I can test against the bot without annoying my wife in the main group :D
Add in support and scripts for implementing in init.d
/states has been renamed to /favstates but the /menu entry wasn't updated
Should probably implement debug/info log/output levels so I can leave in debug output for testing and run the same code for real with it turned off.
Instead of having the alarm code in the config file, we could either ask for it to be entered as a string before alarm commands would run, or even implement an alarm keypad using custom keyboards.
Some people might not want the maps for entities with locations, so should put in a config setting to enable/disable this feature.
Look at adding requirements.txt to make installation easier.
Currently the /alarm command just returns the same set of options regardless of alarm state.
Change it so it queries alarm state first and returns sensible options based on that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.