Giter VIP home page Giter VIP logo

sonoff-server's People

Contributors

vponomarev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sonoff-server's Issues

Still working with firmware 1.6?

Do you think/know if it still works with the latest firmware 1.6?

According to mirko/SonOTA#58 they now validate/pin the certificate.

I finally have my DNS server working and would like to use your server implementation.

Sonoff Basic

Hi!
I have made Sonoff server, but I don't know how to connect Sonoff server with Sonoff Basic.
Thank you.

Мне кажется есть не нужность или ошибка в коде

строка 106
// IPC Service
$cServer = new Channel\Server('0.0.0.0', 2206);
//
// HTTPS Server: configuration + status page
//
$cServer = new Worker('http://'.$IOTServer['serverIP'].':'.$IOTServer['configPort'], array('ssl' => $IOTServer['ssl']));

переменной $cServer присваевается сначало один класс потом сразу другой
Какой в Этом смысл ?

и еще вопрос... некоторые реле имеют на себе переключатель (кнопку или сухой контакт ... гдето еще его называют key )... т.е. ими можно управлять как кнопкой так и wifi в случае управления кнопкой на сервер так же должно приходить сообщение от устройства... в коде я этой реализации не вижу... только односторонняя связь... может двух сторонняя связь существует ?...

и третий вопрос... ни как не могу найти роутер чтобы была возможность подмены DNS... сервер настраиваю raspberry pi 3 может быть посоветуете что или подскажите где почитать чтобы решить мою проблему...

Заранее Благодарен...

Sonoff Wall Touch Switches

I set up a server and router and works well with sonoff basic, sonoff pow, sonoff TH10. I try to connect a wall touch switchm but this device doesn't connect to server. Connection failed to bind. LOG:
SSL handshake error: stream_socket_enable_crypto(): SSL: Success
SSL handshake error: stream_socket_enable_crypto(): SSL: Success
SSL handshake error: stream_socket_enable_crypto(): SSL: Success

I tried to replace certificats, but unsuccess

Do you have any idea?

sonoff Basic connects to the server via websocket but disconnects immediately.

Sonoff Basic connects to Websocket and immediately disconnects.
I can not even get a message because the connection is broken immediately.

In my opinion
Sonoff Basic does not allow connection unless the server address is u-disp.coolkit.cc when connecting.

Or the certificate is not Sonoff's formal certificate.

Our server used a certificate from a domain official certificate rather than a private certificate.

WHich is the standard port? Where to check the log?

I just installed it following the instructions, I receive this, but which is the standard port (https://:/)?

DO I need to do https? Can it be http?

Also I wish to use it with Sonoff POW, where to check the LOG?

pi@pi2:~/phpSonoff $ php ./sonoffServer.php start -d
Workerman[./sonoffServer.php] start in DAEMON mode
----------------------- WORKERMAN -----------------------------
Workerman version:3.5.11 PHP version:7.0.27-0+deb9u1
------------------------ WORKERS -------------------------------
user worker listen processes status
pi ChannelServer frame://0.0.0.0:2206 1 [OK]
pi none http://0.0.0.0:2443 1 [OK]
pi none websocket://0.0.0.0:2333 1 [OK]

Input "php ./sonoffServer.php stop" to stop. Start success.

Broadcast message from nut@pi2 (somewhere) (Fri Jun 8 09:12:48 2018):

UPS ups@localhost is unavailable

missing ./vendor/autoload.php in line 30

PHP Warning: require_once(/root/phpSonoff/vendor/autoload.php): failed to open stream: No such file or directory in /root/phpSonoff/sonoffServer.php on line 30
PHP Fatal error: require_once(): Failed opening required '/root/phpSonoff/vendor/autoload.php' (include_path='.:/usr/share/php') in /root/phpSonoff/sonoffServer.php on line 30

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.