leone2805 wrote: I'll continue testing on other sensor type and automation and eventually SMSGateway (if i can run my usb modem stick MT503HSA on raspberry ).
2015-01-21T18:23:27.4444770+01:00 DEBUG EasyIoTSMSInterface Received SMS, sender:+39xxxxxxxxxx, message:temperature
2015-01-21T18:23:27.4513100+01:00 DEBUG EasyIoTSMSInterface Replace shortcut:temperature->GetParameter MySensors N10S1 Sensor.Temperature
2015-01-21T18:32:15.2260500+01:00 DEBUG EasyIoTSMSInterface Received SMS, sender:+39xxxxxxxxxx, message:led0
2015-01-21T18:32:15.2327390+01:00 DEBUG EasyIoTSMSInterface Replace shortcut:led0->ControlModule MySensors N7S0 ControlLevel 10
2015-01-21T18:32:15.2746800+01:00 DEBUG MySensors Send address:N7S0, property:Sensor.DimmerLevel, value:10
2015-01-23T23:29:08.1092020+01:00 DEBUG EasyIoTSMSInterface Received SMS, sender:+39xxxxxxxxxx, message:led0
2015-01-23T23:29:08.1161740+01:00 DEBUG EasyIoTSMSInterface Replace shortcut:led0->ControlModule MySensors N7S0 ControlLevel 10
2015-01-23T23:29:08.1201840+01:00 DEBUG EasyIoTSMSInterface Send SMS, phoneNo:+39xxxxxxxxxx, message:Invalid command.
ModuleParameter mp = ModuleHelper.GetProperty(Domains.MYSENSORS, "N10S1", "Sensor.Temperature");
if (mp!= null && mp.Value<5.0)
SMSHelper.sendSMS(<mobile number>,<Text>);
leone2805 wrote:
leone2805 wrote: I'll continue testing on other sensor type and automation and eventually SMSGateway (if i can run my usb modem stick MT503HSA on raspberry ).
Hi,
usb modem MT503HSA works on raspberry after an hard work with usb_modeswitch
With beta version V0_6b1 I was able to run successfully both GetParameter and ControlModule
2015-01-21T18:23:27.4444770+01:00 DEBUG EasyIoTSMSInterface Received SMS, sender:+39xxxxxxxxxx, message:temperature 2015-01-21T18:23:27.4513100+01:00 DEBUG EasyIoTSMSInterface Replace shortcut:temperature->GetParameter MySensors N10S1 Sensor.Temperature 2015-01-21T18:32:15.2260500+01:00 DEBUG EasyIoTSMSInterface Received SMS, sender:+39xxxxxxxxxx, message:led0 2015-01-21T18:32:15.2327390+01:00 DEBUG EasyIoTSMSInterface Replace shortcut:led0->ControlModule MySensors N7S0 ControlLevel 10 2015-01-21T18:32:15.2746800+01:00 DEBUG MySensors Send address:N7S0, property:Sensor.DimmerLevel, value:10
With Beta V0_6b2 instead I receive an "Invalid command" error using ControlModule
2015-01-23T23:29:08.1092020+01:00 DEBUG EasyIoTSMSInterface Received SMS, sender:+39xxxxxxxxxx, message:led0 2015-01-23T23:29:08.1161740+01:00 DEBUG EasyIoTSMSInterface Replace shortcut:led0->ControlModule MySensors N7S0 ControlLevel 10 2015-01-23T23:29:08.1201840+01:00 DEBUG EasyIoTSMSInterface Send SMS, phoneNo:+39xxxxxxxxxx, message:Invalid command.
It would also be useful to have a method to send SMS with an automation script. Something like this:
ModuleParameter mp = ModuleHelper.GetProperty(Domains.MYSENSORS, "N10S1", "Sensor.Temperature"); if (mp!= null && mp.Value<5.0) SMSHelper.sendSMS(<mobile number>,<Text>);
I tried to use System.Diagnostics.Process to launch in automation script a process to send SMS ( gammu in my case) but the device is used by EasyIOT server and gammu can't access it.
SmsHelper.SendSms("+xxxxxxxxxxx","test sms");
EasyIoT wrote: Installing modem is really hard work. Sometimes it's not only SW problem it's also HW problem. I shortcut fuse F3 (Raspberry Pi, B model Rev2) to supply enough current to modem.
Yes, ControlModule doesn't working. Replace EasyIoT.exe with this one and it should work.
You almost guessed SMS helper function. It's already implemented, try:SmsHelper.SendSms("+xxxxxxxxxxx","test sms");
2015-01-24T10:38:51.2697940+01:00 DEBUG EasyIoTSMSInterface Send SMS, phoneNo:+39xxxxxxxxxx, message:DimmerValue > 97
AT+CMG="ALL" DimmerValue > 97
Olov wrote: Hi,
I'm sorry but i can not unpack this file, i get 221 failed files using unrar x easy....
i have changed my old installation to easyiot_old
what can be wrong