Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
fritzdect-aha-nodejs
Advanced tools
Readme
NodeJS library using the AHA api of Fritzbox to control DECT smarthome devices. This library is not, in any way, affiliated or related to AVM GmbH. Use it at your own risk.
it is an common js module with named exports. it exposes 2 classes, the API (Fritz) and an emulation (FritzEmu)
install the released version on npm with
npm install fritzdect-aha-nodejs
const Fritz = require('fritzdect-aha-nodejs').Fritz;
fritz = new Fritz(yourUsername, yourPassword, your.Url || '', your.options || {});
//your async function
...
const login = await fritz.login_SID();
const devicelistinfos = await fritz.getDeviceListInfos();
const logout = await fritz.logout_SID();
...
see the example.js.
API-call | implements FB call |
---|---|
getDeviceListInfos() | getdevicelistinfos |
getTemplateListInfos() | gettemplatelistinfos |
getTriggerListInfos() | gettriggerlistinfos |
getColorDefaults() | getcolordefaults |
getDeviceInfos(ain) | getdeviceinfos |
getBasicDeviceStats(ain) | getbasicdevicestats |
getSwitchList() | getswitchlist |
getSwitchState(ain) | getswitchstate |
getSwitchPresent(ain) | getswitchpresent |
getSwitchPower(ain) | getswitchpower |
getSwitchEnergy(ain) | getswitchenergy |
getSwitchName(ain) | getswitchname |
getTemperature(ain) | gettemperature |
getHkrTsoll(ain) | gethkrtsoll |
getHkrKomfort(ain) | gethkrkomfort |
getHkrAbsenk(ain) | gethkrabsenk |
getUserPermissions() | not a FB call |
API-call | implements FB call |
---|---|
applyTemplate(ain) | applytemplate |
setSwitchOn(ain) | setswitchon |
setSwitchOff(ain) | setswitchoff |
setSwitchToggle(ain) | setswitchtoggle |
setSimpleOn(ain) | setsimpleonoff&onoff=1 |
setSimpleOff(ain) | setsimpleonoff&onoff=0 |
setSimpleToggle(ain) | setsimpletoggle |
setTempTarget(ain, temp) | sethkrtsoll |
setHkrBoost(ain, time) | sethkrboost |
setWindowOpen(ain, time) | sethkrwindowopen |
setBlind(ain, target) | setblind |
setLevel(ain, level) | setlevel |
setColorTemperature(ain, temp) | setcolortemperature |
setColor(ain, saturation, hue) | setcolor |
setUnmappedColor(ain, saturation, hue) | setunmappedcolor |
setTriggerActive(ain, active) | settriggeractive |
Copyright (c) 2022-2023 foxthefox foxthefox@wysiwis.net
see [LICENSE.md]
FAQs
NodeJS library using the AHA api of Fritzbox to control DECT smarthome devices.
The npm package fritzdect-aha-nodejs receives a total of 215 weekly downloads. As such, fritzdect-aha-nodejs popularity was classified as not popular.
We found that fritzdect-aha-nodejs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.