rikman122 / tuya-vacuum-card Goto Github PK
View Code? Open in Web Editor NEWCustom Card for Tuya based vacuums
License: MIT License
Custom Card for Tuya based vacuums
License: MIT License
Hi,
it will be possible to add the Vacuum robot
the api is as follows:
https://developer.tuya.com/en/docs/iot/fsd?id=K9gf487ck1tlo
If you can't, could you give me some tips to help with the integration?
During initial testing of your card, found that you have hardcoded fan_speed_list values.
en: {
smart: "Smart",
standby: "Standby",
chargego: "Go Charge",
wall_follow: "Wall Follow",
spiral: "Spiral",
single: "Spot",
low: "Low",
normal: "Normal",
high: "High"
},
as an example, my vacuum has different mode names (modes and fan_speed_list)
- platform: vacuum
friendly_name: Robot Vacuum
id: 5
idle_status_value: "standby,sleep,paused"
powergo_dp: 2
docked_status_value: "charging,charge_done"
returning_status_value: "goto_charge"
battery_dp: 6
mode_dp: 3
modes: "chargego,smart,wall_follow,spiral,partial_bow,mop"
fan_speed_dp: 14
fan_speeds: "gentle,normal,strong"
clean_time_dp: 16
clean_area_dp: 17
probably it will be good idea to fetch those from vacuum itself or define them in card configuration.
Regards
I tried to install this card following the guide (moving js library to www folder) and by adding library link (https://raw.githubusercontent.com/rikman122/tuya-vacuum-card/master/tuya-vacuum-card.js) from the gui but when i try to create a custom card hassio says that "custom:tuya-vacuum-card" doesn't exist
Paper components have been deprecated by HA and now the drop down menus need to be migrated to Materials components
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.