Termostat za pomocą API

Masz pomysł na funkcjonalność lub koncepcję na rozwój projektu. Opisz wszystko tutaj.
andras
Posts: 636
Joined: Fri Dec 30, 2016 5:51 pm
Has thanked: 2 times
Been thanked: 4 times

Post

Niestety instalacja gita i composer sypie błędami

pi@raspberrypi:~ $ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
The following packages were automatically installed and are no longer required:
liblua5.1-0 libonig2 libperl4-corelibs-perl libqdbm14 lsof
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
pi@raspberrypi:~ $ sudo apt-get install composer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
composer : Depends: php-symfony-console (>= 2.5) but 2.3.21+dfsg-4+deb8u3 is to be installed
Depends: php-symfony-filesystem (>= 2.5) but 2.3.21+dfsg-4+deb8u3 is to be installed
Depends: php-symfony-finder (>= 2.4) but 2.3.21+dfsg-4+deb8u3 is to be installed
Depends: php-symfony-process (>= 2.4) but 2.3.21+dfsg-4+deb8u3 is to be installed
E: Unable to correct problems, you have held broken packages.
pi@raspberrypi:~ $
User avatar
fracz
Posts: 2342
Joined: Fri Oct 28, 2016 10:56 pm
Location: Kraków
Has thanked: 4 times
Been thanked: 6 times

Post

Git powinien być zainstalowany od razu. Composera nie trzeba instalować globalnie, wystarczy że w katalogu ze skryptami wykonasz instrukcje stąd https://getcomposer.org/download/ (Command Line Installation)

Wtedy pojawi się plik composer.phar i można go używać w ten sposób:

php composer.phar install

Po tej komendzie powinien pojawić się katalog vendor z zależnościami.
szymon
Posts: 73
Joined: Tue Jun 13, 2017 11:04 am

Post

czy jest możliwość sterowania przekaźnikiem w zależności od temperatury jeśli nie mam ARDUNIO ani RBPI?
Jeśli jest to jak to zrobić bo trochę nie jestem w temacie.
Dziękuję.
User avatar
fracz
Posts: 2342
Joined: Fri Oct 28, 2016 10:56 pm
Location: Kraków
Has thanked: 4 times
Been thanked: 6 times

Post

Tak, wystarczy instalacja opisywanych tu skrytpów: viewtopic.php?f=24&t=2102

Jeśli nie masz gdzie tego zrobić - pozostaje poczekać na v2.1: https://github.com/SUPLA/supla-cloud/milestone/2 a konkretnie na direct linki: https://github.com/SUPLA/supla-cloud/issues/88

Jak uda się to zamknąć to będzie można większość rzeczy, które teraz robią skrypty wykonać wyłącznie za pomocą smartfona.
bicker
Posts: 483
Joined: Tue Feb 02, 2016 8:18 am

Post

a jaki jest przypuszczalny termin wdrożenia ???

wiem, że to trudno określić ale... choć jakieś widełki :)
User avatar
fracz
Posts: 2342
Joined: Fri Oct 28, 2016 10:56 pm
Location: Kraków
Has thanked: 4 times
Been thanked: 6 times

Post

Myślę że "wakacje" to dobre widełki ;)
bicker
Posts: 483
Joined: Tue Feb 02, 2016 8:18 am

Post

fracz wrote: Wed Jun 28, 2017 7:44 am Myślę że "wakacje" to dobre widełki ;)
super ... :)
spodziewałem się późniejszej daty...
kris.gie
Posts: 472
Joined: Thu Apr 28, 2016 4:24 pm
Location: Katowice
Has thanked: 1 time

Post

Termostat działa elegancko..... A czy da się zrobić coś w tym stylu ale z czujnikiem wilgotności na DHT22? Żeby po przekroczeniu jakiegoś progu załączało np. wentylator w łazience?

Return to “Pomysły i koncepcje”