Author Topic: Как соединить платы с компьютером и вокс  (Read 8887 times)

0 Members and 1 Guest are viewing this topic.

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
Добрый день или вечер смотря у кого.  Прошу помощи у вас с вопросом как соеденить к примеру плату  по управлению светом  с компьютером и управлять ей при помощи voxcommando .  Уменя есть вот эта плата :
http://www.icstation.com/icstation-micro-control-channel-relay-module-p-4012.html
и желание учиться и развиваться .    Если есть возможность  прошу показать  примеры команд xml  файлои  что бы мне самому разобраться как это работает .   Или ткните где читать  так как  читать весь форум трудно  так как плохо знаю языки .  Зарание благодаю за ответ



Good afternoon or evening looking at someone . Please help you with the problem of how to bridge eg surcharge for light control with a computer and manage it with the help of voxcommando. Skills have here this board :
http://www.icstation.com/icstation-micro-control-channel-relay-module-p-4012.html
and a desire to learn and develop. If possible please provide examples of teams that have xml fayloi myself understand how it works. Or stick with which to read because it is difficult to read the whole forum know as the bad language . grace for the answer

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Hello Mr.Niki.

Do you already know how to control this relay board using Python?

Do you know which bytes you need to send in order to turn individual relays on and off?

The instructions on that web page are difficult for me to understand.
« Last Edit: January 22, 2016, 10:22:07 AM by jitterjames »

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
она работает правда опыта нехватает пока сделать ее полностью функциональной

теперь думаю как сделать по вайфаю выключение света и постараться сделать все это маленьких размеров

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
That is a good first step.  :clap

Can you share the Python code you are using?
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
я взял все от сюда  http://voxcommando.com/mediawiki/index.php?title=Arduino#Arduino_code
только без кода для arduino и есть проблеммы с командави  а именно с тем что нужно отправлять на плату

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Can you please:

1. Enable the VoxCommando log.
2. Repeat the same voice commands that you demonstrate in your video.
3. Post the file "voxlog.txt" here, so that we can read the log?

(http://voxcommando.com/mediawiki/index.php?title=Log)

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
вот лог  есть только проблема с значениями которые надо отправлять на эту плату чтоб выключать определенный выключатель но я это и не преследую. это была проба своих сил. Я думаю как сделать это по wi-fi
и сделать размер как можно меньше .  Если у вас есть наработки буде рад помощи .  Я не программист и не электрик  я просто брал команды из поста по ссылке и додумывал их под себя.

Now log only problem with the values ​​that must be sent to the card to switch off some but I do not pursue it . This was a test of their strength. I think how to do it on the wi-fi
and make the size as small as possible . If you have achievements Buda glad to help. I'm not a programmer and not an electrician , I just took command of the post , and link them to think out for themselves.
« Last Edit: January 29, 2016, 07:38:28 AM by nime5ter »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
The only serial message displayed in the log is '\x01'. Unfortunately that is not enough information to identify a pattern.

In the video, it looks as though you were giving more than one command to control the relays.

The hardware does not have documentation so there is no way to help. You will need to experiment by yourself, systematically testing patterns.

Try starting with \x00. Write down what all the lights do.

Then try \x01. Write down what all the lights do.

Then try \x02, etc.

You can look online to find a table that explains hexadecimal vs. binary. I think, based on the very bad information that the seller provides, that you are trying to send messages that change the pattern of 4 bits.

We cannot diagnose the correct solution ourselves, but maybe with more experimenting you can figure it out yourself.

P.S. I deleted your log for privacy reasons.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
Спасибо

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
Re: Как соединить платы с компьютером и вокс
« Reply #9 on: February 01, 2016, 01:56:04 AM »
добрый день в России есть компания занимающаяся  умными домами  и у них есть наработки  по управлению светом и другими силовыми устройствами.  их плюс в том что управление идет по радио каналу, блоки имеют маленький размер , простота установки и соединения и Самый главный +  цена .  Хотелось бы спросить есть возможность совместить их с VC  и что для этого нужно (  Какая информация нужна вам чтобы подсказать возможно их совместить ) .  Возможно это будет интересно вашим пользователям в связи с низкой ценой устройств .  Спасибо за ответ .

Good afternoon, in Russia there is a company engaged in intelligent buildings and they have studies for light control and other security devices. their advantage is that the control is on the radio channel units are small size , ease of installation and connection , and most important + Price . I would like to ask is possible to combine them with VC and that it needs ( What information do you need to tell them is possible to combine ) . Maybe it will be interesting to your users at the low price of devices. Thanks for the answer .

http://noo.com.ru/magazin/folder/663169221 


это ссылка на их сайт с видео дающим представление о  том что это

is a link to their site with a video which gives an idea of ​​what it

http://www.noo.com.by/razrabotchikam.html

http://majordomo.smartliving.ru/Main/Noolight
« Last Edit: February 01, 2016, 04:36:47 AM by mr.niki »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Как соединить платы с компьютером и вокс
« Reply #10 on: February 01, 2016, 08:53:07 AM »
Привет mr.niki. Спасибо за информацию. Если Ноотехника есть форум или поддержки клиентов, я предлагаю вам разместить там свой вопрос.

VoxCommando способен передавать и принимать информацию по-разному, как вы, возможно, уже понимают. Вы могли бы разместить ссылку на "особенности" веб-страницы VoxCommando и спросить их, что это возможно. http://voxcommando.com/home/features/

Если они говорят, что это возможно, то пользователи России VoxCommando придется выяснить, как создавать свои собственные решения голосовых команд. Мы не имеем доступа к этой технологии, поэтому мы не можем обеспечить много советов отсюда.

Hi mr.niki. Thanks for the information. If Nootehnika has a forum or customer support, I suggest you post your question there.

VoxCommando is able to send and receive information in several different ways, as you may already realise. You could post the link to the VoxCommando "features" web page, and ask them what is possible. http://voxcommando.com/home/features/

If they say that it is possible, then Russian VoxCommando users would have to figure out how to create their own voice command solutions. We do not have access to that technology, so we cannot provide much advice from here.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
Re: Как соединить платы с компьютером и вокс
« Reply #11 on: February 02, 2016, 01:36:41 PM »
как сделать чтобы в нутри 1 компьютера  некая программа могла создать ивент в vc  как это делает программа tasker  на android  .  Пример : в этой программе возникает какое то действие и она может отправить запрос
http://192.168.1.168/api.htm?name=pult&cell=0&cmd=0&fmt=0&d0=0&d1=0&d2=0&d3=0

как сделать его понятным vc и так что бы он передался и появился treggerevent в vc


how to do that in the inside 1 kind of computer program to create the event in vc as it makes the program tasker on android. Example: In this application there is some action, and then it can request
http://192.168.1.168/api.htm?name=pult&cell=0&cmd=0&fmt=0&d0=0&d1=0&d2=0&d3=0

how to make it understandable and vc so that he transmits and appeared in treggerevent vc

thanks for the answer



nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Как соединить платы с компьютером и вокс
« Reply #12 on: February 02, 2016, 02:05:54 PM »
Your example is the opposite. It is showing how to send a command to «НООТЕХНИКА», not to VoxCommando.

It is easy to make http requests in VC. Use the Scrape action.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.4-->
<command id="118" name="some command that controls a Russian device" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Scrape</cmdType>
    <params>
      <param>http://192.168.1.168/api.htm?name=pult&amp;cell=0&amp;cmd=0&amp;fmt=0&amp;d0=0&amp;d1=0&amp;d2=0&amp;d3=0</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>some command that controls something in the Russian system</phrase>
</command>

However, if you want their hardware to send information to VC, then their http request API does not help.

As mentioned earlier, you need to get support from the Russian company's website, not here. You need to ask someone at the Russian website who understands English and who has some technical expertise to read VoxCommando's documentation, so that they can explain it to you and provide examples.

It doesn't make sense to ask us here.

Тем не менее, если вы хотите их оборудование для передачи информации VC, то их просьба HTTP API не помогает.
Как уже упоминалось ранее, необходимо получить поддержку с сайта российской компании, а не здесь. Вы должны спросить кого-то на российском сайте, который понимает по-английски, а кто имеет некоторый технический опыт, чтобы читать VoxCommando документацию, так что они могут объяснить вам и привести примеры.
Это не имеет смысла спрашивать нас здесь.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
Re: Как соединить платы с компьютером и вокс
« Reply #13 on: February 05, 2016, 06:11:55 AM »
Я видел много видео как люди управляют светом в доме при помощи VC.  Мне интересно как они это реализуют?
Точнее что за устройства они для этого применяют ?  если вы в курсе можете набросать схемку как и при помощи чего они это делают ?  Благодарю за ответ.

с фирмой из постов выше я связался  пообщались и там есть 1 но огромная проблема
если я управляю через VC светом то проблем нет а вот если я включаю свет через выключатель то VC  не знает об этом и если я отдам команду то он пошлет запрос еще раз
 Тесть нет обратной связи между nooLite --> VC.  Они только разрабатывают систему обратной связи
вот поэтому и возник вопрос а как это делают другие люди ?

I have seen many videos as people run the light in the house with the help of VC. I wonder how they implement ?
More precisely what they are used for this device ? if you know you can jot down shemku as whereby they do it? Thank you for your reply.

with the company of the posts above I contacted communicated and there is but one huge problem
if I run through VC is light there is no problem but if I turn on the light switch via the VC does not know about this , and if I give the command that he would send the query again
 Father in law there is no feedback between nooLite -> VC. They only develop a feedback system
That's why there was a question as well as other people do ?
« Last Edit: February 05, 2016, 06:38:06 AM by mr.niki »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Как соединить платы с компьютером и вокс
« Reply #14 on: February 05, 2016, 08:50:33 AM »
« Last Edit: February 05, 2016, 08:53:01 AM by nime5ter »
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)