@romain , do you use voicecontrol module to run some scripts ? If so please let me know how to do it … ;) my module is detecting my voice … but i’m unable to run something … ;)
Read the statement by Michael Teeuw here.
Latest posts made by disakos
-
RE: VoiceControl module
-
RE: VoiceControl module
Hello Guys , @alexyak .
I;m running this module and hot word detection is working ok, i used my own keyword and send notfication to other modules. I can see in console.log .MMM-temp-ds18b20 received a module notification: LUSTRO from sender: voicecontrol
In all my modules. but i’m unable to run for example script … I tried to modify node_helper.js
/* Magic Mirror * Module: voicecontrol * * By Alex Yaknin * MIT Licensed. */ const NodeHelper = require('node_helper'); const exec = require('child_process').exec; module.exports = NodeHelper.create({ start: function () { this.started = false; }, socketNotificationReceived: function(notification, payload) { if (notification === "CONNECT") { this.startRecognition(payload); return; } if (notification === "LUSTRO"’) { exec("/opt/vc/bin/tvservice -o", null); // this.autosleep(); } },
but it is not working … ;)
-
RE: 27" custom framed magic mirror - fun to get done
@iwaldrum
Thanks a lot for answer. I have some hikvision cameras and i’m able to reach RSTP stream of each one. Do you think that i’m able to put RSTP stream into iFrame directly ? -
RE: 27" custom framed magic mirror - fun to get done
@cohron said in 27" custom framed magic mirror - fun to get done:
sear
Hello @iwaldrum , may you please tell us how to add stream from IP Cameras ?
Thanks. -
RE: Stream RTSP Security CAM Feed
Hi , perfect thing. I think a lot of people would use this kind of module. !!
-
RE: MMM-FHEM shows values from FHEM devices ...
hello @BenRoe , may you please adopt this module to read Domoticz values ?
I see that it is similar because we can read domoticz values by json https://www.domoticz.com/wiki/Domoticz_API/JSON_URL’s#Retrieve_status_of_specific_deviceFor example one of retrived data from BME280 sensor
{
“ActTime” : 1477914474,
“ServerTime” : “2016-10-31 12:47:54”,
“Sunrise” : “06:33”,
“Sunset” : “16:21”,
“result” : [
{
“AddjMulti” : 1.0,
“AddjMulti2” : 1.0,
“AddjValue” : 0.0,
“AddjValue2” : 0.0,
“Barometer” : 984,
“BatteryLevel” : 255,
“CustomImage” : 0,
“Data” : “20.6 C, 58 %, 984 hPa”,
“Description” : “”,
“DewPoint” : “12.05”,
“Favorite” : 1,
“Forecast” : 0,
“ForecastStr” : “No Info”,
“HardwareID” : 3,
“HardwareName” : “Virtual”,
“HardwareType” : “Dummy (Does nothing, use for virtual switches only)”,
“HardwareTypeVal” : 15,
“HaveTimeout” : false,
“Humidity” : 58,
“HumidityStatus” : “Normal”,
“ID” : “14056”,
“LastUpdate” : “2016-10-31 12:46:59”,
“Name” : “Łazienka”,
“Notifications” : “true”,
“PlanID” : “0”,
“PlanIDs” : [ 0 ],
“Protected” : false,
“ShowNotifications” : true,
“SignalLevel” : “-”,
“SubType” : “THB1 - BTHR918, BTHGN129”,
“Temp” : 20.60,
“Timers” : “false”,
“Type” : “Temp + Humidity + Baro”,
“TypeImg” : “temperature”,
“Unit” : 1,
“Used” : 1,
“XOffset” : “0”,
“YOffset” : “0”,
“idx” : “7”
}
],
“status” : “OK”,
“title” : “Devices”
}Interesting thing is Name of sensor (“Name”), Temperature ( “Temp”) , Humidity or Preassure etc…
I think that would be great extension of this module ;)Please ;]