Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blinker-iot/blinker-js
/ functions
Functions
168 in github.com/blinker-iot/blinker-js
⨍
Functions
168
◇
Types & classes
54
↓ 81 callers
Method
log
(logString)
lib/blinker.ts:619
↓ 66 callers
Method
update
(value = '')
lib/widget.ts:29
↓ 21 callers
Method
power
(state: string)
lib/voice-assistant.ts:333
↓ 16 callers
Method
ready
()
lib/blinker.ts:116
↓ 14 callers
Method
addWidget
(widget: Widget | any)
lib/blinker.ts:412
↓ 13 callers
Function
addData
(key, value)
example/example_server.ts:84
↓ 12 callers
Method
addVoiceAssistant
(voiceAssistant: VoiceAssistant)
lib/blinker.ts:419
↓ 12 callers
Method
sendMessage
(message: string | Object, toDevice = this.targetDevice)
lib/blinker.ts:303
↓ 9 callers
Method
color
(color)
lib/widget.ts:174
↓ 9 callers
Method
listen
()
lib/widget.ts:17
↓ 8 callers
Function
error
(msg)
lib/debug.ts:24
↓ 8 callers
Function
timerLog
(msg)
lib/debug.ts:29
↓ 7 callers
Function
randomNumber
(min = -10000, max = 10000)
example/example.ts:99
↓ 6 callers
Function
log
(msg, { title = 'TITLE', color = 'white' } = {})
lib/debug.ts:2
↓ 6 callers
Function
tip
(msg)
lib/debug.ts:16
↓ 5 callers
Method
brightness
(brightness)
lib/widget.ts:182
↓ 5 callers
Method
push
(text: string)
lib/blinker.ts:470
↓ 5 callers
Function
randomColor
()
example/example.ts:105
↓ 5 callers
Method
value
(value)
lib/widget.ts:137
↓ 4 callers
Method
mode
(mode: MI_LIGHT_MODE)
lib/voice-assistant.ts:148
↓ 4 callers
Function
mqttLog
(msg)
lib/debug.ts:33
↓ 4 callers
Method
processData
(data, fromDevice = this.targetDevice)
lib/blinker.ts:239
↓ 4 callers
Function
warn
(msg)
lib/debug.ts:20
↓ 3 callers
Method
clearCountdownTimer
()
lib/blinker.ts:605
↓ 3 callers
Method
disableTimingTask
(taskId)
lib/blinker.ts:547
↓ 3 callers
Method
getCountdownData
()
lib/blinker.ts:612
↓ 3 callers
Method
getTimingData
()
lib/blinker.ts:494
↓ 3 callers
Method
humi
(val: number | string)
lib/voice-assistant.ts:272
↓ 3 callers
Method
num
(num: number)
lib/voice-assistant.ts:224
↓ 3 callers
Method
pm25
(val: number | string)
lib/voice-assistant.ts:286
↓ 3 callers
Function
saveJsonFile
(path, data)
lib/blinker.ts:733
↓ 3 callers
Method
temp
(val: number | string)
lib/voice-assistant.ts:265
↓ 3 callers
Method
text
(text)
lib/widget.ts:169
↓ 2 callers
Method
addTimingTask
(taskData)
lib/blinker.ts:508
↓ 2 callers
Method
aqi
(val: number | string)
lib/voice-assistant.ts:279
↓ 2 callers
Function
arrayRemove
(array, index)
lib/blinker.ts:737
↓ 2 callers
Method
co2
(val: number | string)
lib/voice-assistant.ts:300
↓ 2 callers
Method
colorTemp
(val: number | string)
lib/voice-assistant.ts:320
↓ 2 callers
Function
formatMess2Device
(deviceId, toDevice, data)
lib/blinker.ts:676
↓ 2 callers
Function
getMacAddr
()
lib/blinker-cli.ts:68
↓ 2 callers
Function
isJson
(str: string)
lib/blinker.ts:697
↓ 2 callers
Function
isNumber
(val: string)
lib/blinker.ts:709
↓ 2 callers
Function
loadJsonFile
(path)
lib/blinker.ts:726
↓ 2 callers
Method
saveTsData
(data: any)
lib/blinker.ts:343
↓ 2 callers
Method
sendRtData
(key: string, func: Function, time = 1000)
lib/blinker.ts:643
↓ 2 callers
Method
sendTsData
()
lib/blinker.ts:362
↓ 2 callers
Method
show
(img: number)
lib/widget.ts:210
↓ 2 callers
Function
showQrcode
(str: string)
lib/blinker-cli.ts:72
↓ 2 callers
Method
text1
(text:string)
lib/widget.ts:73
↓ 2 callers
Function
u8aToString
(fileData)
lib/fun.ts:1
↓ 2 callers
Function
vaLog
(msg, title)
lib/debug.ts:37
↓ 1 callers
Function
checkRegister
()
lib/blinker-cli.ts:59
↓ 1 callers
Method
connectBroker
()
lib/blinker.ts:176
↓ 1 callers
Method
delTimingData
(taskId)
lib/blinker.ts:501
↓ 1 callers
Method
delTimingTask
(taskId)
lib/blinker.ts:541
↓ 1 callers
Function
formatMess2StorageOt
(deviceId, storageType, data)
lib/blinker.ts:693
↓ 1 callers
Function
formatMess2StorageTs
(deviceId, storageType, data)
lib/blinker.ts:685
↓ 1 callers
Function
formatMess2StorageTt
(deviceId, storageType, data)
lib/blinker.ts:689
↓ 1 callers
Function
getCpuFree
()
example/example_server.ts:76
↓ 1 callers
Function
getCpuUsage
()
example/example_server.ts:68
↓ 1 callers
Function
getDiskinfo
()
example/example_server.ts:61
↓ 1 callers
Function
getInfo
()
example/example_server.ts:38
↓ 1 callers
Method
getShareInfo
()
lib/blinker.ts:160
↓ 1 callers
Method
init
(authkey)
lib/blinker.ts:90
↓ 1 callers
Method
initBroker_Blinker
()
lib/blinker.ts:170
↓ 1 callers
Method
initLocalService
()
lib/blinker.ts:128
↓ 1 callers
Function
int2rgb
(value: number)
example/miot/example_miot_light.ts:105
↓ 1 callers
Function
int2rgb
(value: number)
example/dueros/example_dueros_light.ts:120
↓ 1 callers
Method
loadTimingTask
()
lib/blinker.ts:554
↓ 1 callers
Method
pm10
(val: number | string)
lib/voice-assistant.ts:293
↓ 1 callers
Method
processData
(messageId, data)
lib/voice-assistant.ts:120
↓ 1 callers
Method
send
()
lib/message.ts:14
↓ 1 callers
Method
setCountdownData
(data)
lib/blinker.ts:568
↓ 1 callers
Method
setTimingData
(data)
lib/blinker.ts:487
↓ 1 callers
Method
sms
(text: string)
lib/blinker.ts:438
↓ 1 callers
Method
startHeartbeat2cloud
()
lib/blinker.ts:228
↓ 1 callers
Method
stopHeartbeat2cloud
()
lib/blinker.ts:235
↓ 1 callers
Method
toRgb
(colorHex)
lib/widget.ts:187
↓ 1 callers
Method
turn
(swi)
lib/widget.ts:41
↓ 1 callers
Function
turnSwitch
()
example/example.ts:115
↓ 1 callers
Function
turnSwitch
()
example/aligenie/example_aligenie_outlet.ts:46
↓ 1 callers
Function
turnSwitch
()
example/aligenie/example_aligenie_light.ts:99
↓ 1 callers
Function
turnSwitch
()
example/aligenie/example_aligenie_sensor.ts:32
↓ 1 callers
Function
turnSwitch
()
example/aligenie/example_aligenie_multi_outlet.ts:44
↓ 1 callers
Function
turnSwitch
()
example/miot/example_miot_light.ts:113
↓ 1 callers
Function
turnSwitch
()
example/miot/example_miot_outlet.ts:52
↓ 1 callers
Function
turnSwitch
()
example/miot/example_miot_multi_outlet.ts:55
↓ 1 callers
Function
turnSwitch
()
example/miot/example_miot_sensor.ts:32
↓ 1 callers
Function
turnSwitch
()
example/dueros/example_dueros_multi_outlet.ts:55
↓ 1 callers
Function
turnSwitch
()
example/dueros/example_dueros_light.ts:128
↓ 1 callers
Function
turnSwitch
()
example/dueros/example_dueros_sensor.ts:53
↓ 1 callers
Function
turnSwitch
()
example/dueros/example_dueros_outlet.ts:52
↓ 1 callers
Method
unit
(unit)
lib/widget.ts:142
↓ 1 callers
Method
vibrate
(time = 500)
lib/blinker.ts:433
Method
autoplay
(swi: boolean)
lib/widget.ts:227
Method
brightness
(val: number | string)
lib/voice-assistant.ts:256
Method
brightness
(val: number | string)
lib/voice-assistant.ts:307
Method
color
(color: string | number[])
lib/voice-assistant.ts:240
Method
color
(color: string | number[])
lib/voice-assistant.ts:314
Method
color
(color)
lib/widget.ts:56
next →
1–100 of 168, ranked by callers