kakopappa / sinric

Amazon Alexa Smart home skill / Google Home Action for ESP8266 / ESP32 / Arduino
https://sinric.com
285 stars 166 forks source link

Sinric Pro is here (https://sinric.pro) #369

Open kakopappa opened 4 years ago

kakopappa commented 4 years ago

Sinric Pro is here for beta testing. https://sinric.pro

Please give it a try and let us know how you feel. Thanks. đź’Ż

lsgdefault commented 4 years ago

what's difference between sinric and sinric pro?? I mean sinric and sinric pro gives almost same features and give all features that i want. and sinric is free but sinric pro only give 5 devices and i am using 8 relay so can't use it for free while i'm using sinric for free.

kakopappa commented 4 years ago

check out the doorbell demo: https://www.youtube.com/watch?v=H-iftzWVTXE

image

image

Gerardmoik commented 4 years ago

Is Sinric going to be replaced by Sinric pro at any point? or we will be able to use Sinric forever? thanks.

kakopappa commented 4 years ago

Yes, it will be replaced. There is an operating cost involved in running sinric.com

On Thu, 5 Dec 2019 at 9:56 PM Gerardmoik notifications@github.com wrote:

Is Sinric going to be replaced by Sinric pro at any point? or we will be able to use Sinric forever? thanks.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/kakopappa/sinric/issues/369?email_source=notifications&email_token=ABZAZZV4LTA4ZT5OALEGMI3QXEJBBA5CNFSM4JNJUOWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGA7GDY#issuecomment-562164495, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZTTTXJRIERNPLROX3DQXEJBBANCNFSM4JNJUOWA .

kaustubh-ke commented 4 years ago

Sinric pro is good but sinric is faster then sinric pro

sivar2311 commented 4 years ago

What do you mean with "faster"? Did you do any measurements? I have two light devices (1x Sinric, 1x SinricPro): Turn on/off command Sinric: about 1.5 seconds Turn on/off command SinricPro: about 1 second

kakopappa commented 4 years ago

@Developer-error Could be but there are few things here you may not know.

  1. Pro has additional checks for security like HMAC signature checks. These may delay response processing

  2. Sinric - When you ask Alexa to do something, it forwards the request to Sinric server and the Sinric server returns OK response first whether the device is connected or not. Whereas Sinric pro sends the command to ESP module, wait for the response and send it back to Alexa. This creates a small delay

kaustubh-ke commented 4 years ago

Got it sir. I m trying to learn from sinric , Big fan of your's.

daniele-castellini commented 4 years ago

Yes, it will be replaced. There is an operating cost involved in running sinric.com … On Thu, 5 Dec 2019 at 9:56 PM Gerardmoik @.***> wrote: Is Sinric going to be replaced by Sinric pro at any point? or we will be able to use Sinric forever? thanks. — You are receiving this because you were assigned. Reply to this email directly, view it on GitHub <#369?email_source=notifications&email_token=ABZAZZV4LTA4ZT5OALEGMI3QXEJBBA5CNFSM4JNJUOWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGA7GDY#issuecomment-562164495>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZTTTXJRIERNPLROX3DQXEJBBANCNFSM4JNJUOWA .

When will it be discontinued?

Gerardmoik commented 4 years ago

I had a paid subscription at Smartnest.cz but I moved to Sinric.com because it is free, it is a pity that Sinric.com cannot stay forever but I understand there must be some costs for it. Now Sinric Pro sounds interesting, I will give it a try. is there any expected date for Sinric.com to be shut down?

kakopappa commented 4 years ago

@Gerardmoik @daniele-castellini I do not have an exact date as of now. We are waiting for the Google Home action to be approved so that existing users can switch to pro seamlessly. I will send an email for at least 3 months in advance with the date.

I understand that you guys must be disappointed. I get it. I like to keep it free forever too. but I like you guys to see this is a screencap from Alexa skill dev console. As you can see the Sinric Alexa Skill makes about 3000-7000 requests per hour just Alexa Alexa Skill only!! At this rate, I have to sell a kidney to keep this up and running... Please consider switching to Pro if you can.

image

gians-it commented 4 years ago

I'm checking your good work, for now everything's perfect! may I make a suggestion: in SinricProContactsensor an example with 2 devices would be appreciated.

thanks

sivar2311 commented 4 years ago

in SinricProContactsensor an example with 2 devices would be appreciated.

You can have as much devices as you want. Just call <SinricProDeviceType> &<NAME> = SinricPro[<DEVICEID>] so it would be like this:

SinricProContactsensor &Sensor1 = SinricPro["5e14e91b9764a6c6d709b802"];
SinricProContactsensor &Sensor2 = SinricPro["5e14e93816266f609c211df4"];
SinricProContactsensor &Sensor3 = SinricPro["5e14e96d030cf63ef98ffa0b"];
..
SinricProContactsensor &Sensor99 = SinricPro["5e14e975e82097a9276508c0"];

You can do this with an array of DeviceIDs and iterate over that array to setup the devices.

Have a look at this example where i am using a std::map to setup multiple switch devices. The map contains as first parameter the deviceId, and as second parameter a struct which stores the used PINs, and the actual power state).

You can do this technique with all SinricPro devices in the library. Not only switches and contact sensors.

gians-it commented 4 years ago

thank you very much for your very rapid response! I think two devices are the best solution. for example using a cheap ESP-01

while I'm trying occasionally it informs me: [SinricPro]: EVENTS ARE BLOCKED FOR 58 SECONDS! probably I have to check what I wrote and change few things :-( or use a debounce capacitor. Regards

sivar2311 commented 4 years ago

A simple debounce logic will help (see Arduino debounce example)

Events are limited to prevent flooding the server (like you would have done ;). Current limitation is 10 events with a minimum distance of 1 second, then events are blocked for 1 minute.

gians-it commented 4 years ago

Hi, in SinricProContactsensor

can I use INPUT_PULLUP instead of:

pinMode(CONTACT_PIN, INPUT);

sivar2311 commented 4 years ago

That depends on the contact sensor you're using. And keep in mind to change the detection logic! In the example, an event will be send, when PIN is HIGH. Using INPUT_PULLUP, the pin will be always HIGH, except it is pulled to GND by our contact sensor. What type of contact sensor do you use?

gians-it commented 4 years ago

I'm not sure between Hall magnetic sensor or optocoupler. I'm just working on it, the software side works great by the SinricPro aid. thank you so much for your help.

OmetKs commented 4 years ago

@kakopappa when will Sinric stop working? Alexa Discover Devices is not working for new devices I just created

aguilaair commented 4 years ago

@kakopappa any updates regarding Google Home integration? Also: will we be able to choose which action we would like to enable (by this I mean that in V1 even if a light can only be dimmed the GH app would still allow choosing colours) ? Thank you in advace!

Gerardmoik commented 4 years ago

Also looking forward to the google action, for now my only option is Smartnest.cz but it uses mqtt instead of web sockets. When will it be released? Thank you !

kakopappa commented 4 years ago

image

Waiting for approval đź’Ż

Gerardmoik commented 4 years ago

Great news !!! Thanks !

aguilaair commented 4 years ago

Thank you! imagen How long have you been waiting?

robademar commented 4 years ago

since I've to change my sinric working code I would like to have a more secure usage. I've found that sometime commands are not received by devices, I don't know if it is due to networking ore other reasons. How can I have a feedback? Then, since Alexa allows user voice recognition, I would like to check who is giving the command. Is it possible with the pro version? Thanks I understand you concern about the costs, therefore I'm willing to pay a reasonable amount for a secure service. Since I want a reliable service this is not possible for free, but it should be reasonable (2-3 $/year)

sivar2311 commented 4 years ago

I've found that sometime commands are not received by devices, I don't know if it is due to networking ore other reasons.

Did you have this problem with Sinric (classic) or SinricPro?

Then, since Alexa allows user voice recognition, I would like to check who is giving the command. Is it possible with the pro version.

SinricPro <--> Alexa connection is based on Alexa SmartHome Skill Interface. Unfortunately this Interface does not support user voice recogition. SinricPro does not get any voice informations. Maybe amazon will provide such info's on SmartHome interface one day...we have to wait for.

Since I want a reliable service this is not possible for free, but it should be reasonable (2-3 $/year)

Then SinricPro meets your requirement with 5 devices for free and additional devices are $3 per year.

robademar commented 4 years ago

I've found that sometime commands are not received by devices, I don't know if it is due to networking ore other reasons.

Did you have this problem with Sinric (classic) or SinricPro?   SINric classic Just tonigth it was not working for a couple of hours then without any change it worked

Then, since Alexa allows user voice recognition, I would like to check who is giving the command. Is it possible with the pro version.

SinricPro <--> Alexa connection is based on Alexa SmartHome Skill Interface. Unfortunately this Interface does not support user voice recogition. SinricPro does not get any voice informations. Maybe amazon will provide such info's on SmartHome interface one day...we have to wait for.Let's hope

Since I want a reliable service this is not possible for free, but it should be reasonable (2-3 $/year)

Then SinricPro meets your requirement with 5 devices for free and additional devices are $3 per year.We are aligned  Thanks Giovanni Roberto Mariani

Il lunedì 10 febbraio 2020, 20:09:12 CET, Boris Jäger <notifications@github.com> ha scritto:  

I've found that sometime commands are not received by devices, I don't know if it is due to networking ore other reasons.

Did you have this problem with Sinric (classic) or SinricPro?

Then, since Alexa allows user voice recognition, I would like to check who is giving the command. Is it possible with the pro version.

SinricPro <--> Alexa connection is based on Alexa SmartHome Skill Interface. Unfortunately this Interface does not support user voice recogition. SinricPro does not get any voice informations. Maybe amazon will provide such info's on SmartHome interface one day...we have to wait for.

Since I want a reliable service this is not possible for free, but it should be reasonable (2-3 $/year)

Then SinricPro meets your requirement with 5 devices for free and additional devices are $3 per year.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

sivar2311 commented 4 years ago

I've found that sometime commands are not received by devices, I don't know if it is due to networking ore other reasons.

Sinric (classic) had no issue that time. So this will be related to WiFi issues and might happen with SinricPro and other WiFi related projects, too.

robademar commented 4 years ago

Clear thanks. And it will be like this till a more reliable 2 ways protocol will be adopted and command feed  back transmitted. Inviato da Yahoo Mail su Android

Il Mar, 11 Feb, 2020 alle 5:19, Boris Jägernotifications@github.com ha scritto:

I've found that sometime commands are not received by devices, I don't know if it is due to networking ore other reasons.

Sinric (classic) had no issue that time. So this will be related to WiFi issues and might happen with SinricPro and other WiFi related projects, too.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

kakopappa commented 4 years ago

@robademar

When Alexa sends a request to the Sinric (sinric.com) the server sends "Success" back to Alexa without checking whether device is connected or not

In Sinric Pro, when Alexa sends a command to Sinric Pro (sinric.pro) server, it forwards the command to ESP module and wait for 8 seconds for a response from the ESP module. If your device is not connected or does not respond back to server, Alexa will say "device is not responding". If you hear device is not responding messages often likely you have wifi issues either with the router or esp board

pacjo commented 4 years ago

When google home support will be out? Dashboard says: "Pending approval" for 3 weeks.

kakopappa commented 4 years ago

@pacjo I wish it was simple as Alexa. After we submitted the action for approval, after two weeks we got an email from Google asking to ship 2 devices for testing to Google in USA. We are preparing the devices for testing and will ship to Google soon. Then don't know how long it will take to approval.

kakopappa commented 4 years ago

@Banjak88 please open an issue if you have any further issue in sinricpro repo https://github.com/sinricpro/esp8266-esp32-sdk/issues

Banjak88 commented 4 years ago

@Banjak88 please open an issue if you have any further issue in sinricpro repo https://github.com/sinricpro/esp8266-esp32-sdk/issues

Ok thanks.

daniel-paiva-osf commented 4 years ago

I hope we get good news from google soon. I don't want to start on the sinric.com just to change it again to pro after a few moments :) Keep up the good work! @kakopappa

buddasticks commented 4 years ago

Hello I'm having trouble trying to add more devices to the script any input would help.cheers ( might result in a beer )

zendes commented 4 years ago

Any update on the Google Home integration? It's been pending for 4 months now, which I'm guessing must be frustrating to you. Anything you can share about what's going on with Google?

laxmru commented 4 years ago

I am not programer. But I make few things using internet. In this month I have spent lot of time to create voice control TV remote using sinric.com. I will look forward for voice control IR remote with GH detailed example in sinric pro because I have Google Home mini. Thanks

glen112-bit commented 4 years ago

how can i connect sinric pro white google home whith no ifttt, like sinric....... its possible? thanks a lot

samratnarvekar commented 4 years ago

@Gerardmoik @daniele-castellini I do not have an exact date as of now. We are waiting for the Google Home action to be approved so that existing users can switch to pro seamlessly. I will send an email for at least 3 months in advance with the date.

I understand that you guys must be disappointed. I get it. I like to keep it free forever too. but I like you guys to see this is a screencap from Alexa skill dev console. As you can see the Sinric Alexa Skill makes about 3000-7000 requests per hour just Alexa Alexa Skill only!! At this rate, I have to sell a kidney to keep this up and running... Please consider switching to Pro if you can.

image

But Sir, i have an opinion, if u start charging then i would say i better opt out from ioT and buy readymade smart devices from Sonoff, belkin etc as they provide one time hardware cost and life long skill for free.

samratnarvekar commented 4 years ago

Hence think well before taking such a step because only project related ioT people will subscribe for sinric pro, or make atleast 10 devices free in pro.

kakopappa commented 4 years ago

@samratnarvekar you should opt-out

koolguy112 commented 4 years ago

I m happy to see a great improvement in sinric with pro version I think sinric is being used at my home for more than a year, I Just wish to make a simple request the complete automation is installed at my Home for my parents there an due to COVID situation I may not be able to visit there for at-least next 6-7 months . i request you to help me out with some scenarios so that the old service keeps working , and if there is a issue for subscription charges please allow the same to be paid over old sinric services

laxmru commented 4 years ago

Hi,

I am still waiting for Google home with Sinric Pro.

Now Google has added Channel traits.

I am eager to use it.

Regards,

Laxman

On Thu, Jun 18, 2020, 15:07 Glen1986 notifications@github.com wrote:

how can i connect sinric pro white google home whith no ifttt, like sinric....... its possible? thanks a lot

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kakopappa/sinric/issues/369#issuecomment-645904123, or unsubscribe https://github.com/notifications/unsubscribe-auth/APKVLHKPRSHYMG5MZEFYZOTRXHN4LANCNFSM4JNJUOWA .

abimaelviana commented 3 years ago

kakopappa, parabéns pelo seu trabalho. Conheci o Sinric Pro recentemente e achei muito bom. No entanto, a versão gratuita só disponibiliza 3 dispositivos em vez de 5. O site envia uma mensagem para meu dispositivo informando para revisar meu código porque está enviando atualizações muito rápido. Como solucionar isso?

kakopappa commented 3 years ago

kakopappa, parabéns pelo seu trabalho. Conheci o Sinric Pro recentemente e achei muito bom. No entanto, a versão gratuita só disponibiliza 3 dispositivos em vez de 5. O site envia uma mensagem para meu dispositivo informando para revisar meu código porque está enviando atualizações muito rápido. Como solucionar isso?

@abimaelviana

Obrigado.

Reduzimos de 5 para 3 para uma procura mais elevada do que tĂ­nhamos previsto.

Por favor, crie um problema com mais detalhes sobre o problema que está a ter

SamueldaCostaAraujoNunes commented 3 years ago

Olá, a Google já se pronunciou em relação a liberação??

kakopappa commented 3 years ago

@SamueldaCostaAraujoNunes Você pode usar agora o Google Home através do conector SmartThings.

You can use Google Home via SmartThings connector now. https://help.sinric.pro/pages/googlehome.html

image

chinmayb08 commented 3 years ago

@robademar

When Alexa sends a request to the Sinric (sinric.com) the server sends "Success" back to Alexa without checking whether device is connected or not

In Sinric Pro, when Alexa sends a command to Sinric Pro (sinric.pro) server, it forwards the command to ESP module and wait for 8 seconds for a response from the ESP module. If your device is not connected or does not respond back to server, Alexa will say "device is not responding". If you hear device is not responding messages often likely you have wifi issues either with the router or esp board

Sir, I am having an issue like, when I give the command to Alexa she says okay but the device will not turn on. however, after restarting my esp8266 module it starts working properly. but after some time or 2 days again the problem occurs.

kakopappa commented 3 years ago

Are you using Sinric or Sinric Pro?

On Thu, 8 Oct 2020 at 12:46 AM chinmayb08 notifications@github.com wrote:

@robademar https://github.com/robademar

When Alexa sends a request to the Sinric (sinric.com) the server sends "Success" back to Alexa without checking whether device is connected or not

In Sinric Pro, when Alexa sends a command to Sinric Pro (sinric.pro) server, it forwards the command to ESP module and wait for 8 seconds for a response from the ESP module. If your device is not connected or does not respond back to server, Alexa will say "device is not responding". If you hear device is not responding messages often likely you have wifi issues either with the router or esp board

Sir, I am having an issue like, when I give the command to Alexa she says okay but the device will not turn on. however, after restarting my esp8266 module it starts working properly. but after some time or 2 days again the problem occurs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kakopappa/sinric/issues/369#issuecomment-705093511, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZRNPAZSUVSQGOUVOYLSJSSN3ANCNFSM4JNJUOWA .