상세 컨텐츠

본문 제목

IoT Platform Cayenne Web/App 사용해보기

embedded/IoT

by ZelKun 2020. 1. 12. 01:29

본문

반응형

 

삭제

systemctl disable myDevices
rm -rf /etc/systemd/system/myDevices.service
rm -rf /etc/init.d/myDevices
rm -rf /usr/bin/myDevices
rm -rf /etc/myDevices/

출처: https://community.mydevices.com/t/how-to-uninstall-cayenne/229/7


출처 :  https://cayenne.mydevices.com

Blynk 쓰다보니 뭔가를 추가하려면 요금을 내야해서

다른 무료 플랫폼으로 갈아타기 보기로 했습니다

 

특히 Blynk와는 다르게 /App 구분없이 접근할 있어 보이고

TTN 연결에 디바이스(라즈베리,아두이노 ) 메뉴얼도 제공합니다

 

가입 디바이스 추가는 /App 구분없이 가능하지만

편의상 웹에서 진행했습니다

 

App Store: https://apps.apple.com/kr/app/id1057997711

Google Play: https://play.google.com/store/apps/details?id=com.mydevices.cayenne

 

출처 :  https://cayenne.mydevices.com

 

출처 :  https://cayenne.mydevices.com

App이나 shell script  연결할 수 있어보이네요

 

shell script를 이용해보기로 했습니다

wget https://cayenne.mydevices.com/dl/rpi_u6u1vp4tp6.sh
sudo bash rpi_u6u1vp4tp6.sh -v

*디바이스 추가할 때마다 shellscript 파일명이 다르니

참고만 하시길 바랍니다

 

작업은 utils 디렉토리에서 진행했습니다

mkdir utils & cd utils

wget https://cayenne.mydevices.com/dl/rpi_u6u1vp4tp6.sh

 

pi@rasp-dev:~ $ cd utils/
pi@rasp-dev:~/utils $ ls
apache-tomcat-9.0.12.tar.gz            thingsboard-2.1.deb
logmein-hamachi_2.1.0.198-1_armhf.deb  thingsboard-windows-2.1.zip
solr-8.2.0.tgz
pi@rasp-dev:~/utils $ wget https://cayenne.mydevices.com/dl/rpi_u6u1vp4tp6.sh
--2020-01-10 23:46:22--  https://cayenne.mydevices.com/dl/rpi_u6u1vp4tp6.sh
Resolving cayenne.mydevices.com (cayenne.mydevices.com)... 54.156.191.83, 52.206.177.93
Connecting to cayenne.mydevices.com (cayenne.mydevices.com)|54.156.191.83|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1392 (1.4K) [text/x-sh]
Saving to: ‘rpi_u6u1vp4tp6.sh’


rpi_arl8antmcc.sh   100%[===================>]   1.36K  --.-KB/s    in 0.003s  


2020-01-10 23:46:25 (418 KB/s) - ‘rpi_u6u1vp4tp6.sh’ saved [1392/1392]

설치가 끝났으니

다운받은 shell 파일을 실행해줍니다

sudo bash rpi_u6u1vp4tp6.sh -v

pi@rasp-dev:~/utils $ sudo bash rpi_u6u1vp4tp6.sh -v
rpi_arl8antmcc.sh
continuing as new install...
--2020-01-10 23:46:45--  https://updates.mydevices.com/raspberry/myDevices.tar.gz
Resolving updates.mydevices.com (updates.mydevices.com)... 54.148.225.117
Connecting to updates.mydevices.com (updates.mydevices.com)|54.148.225.117|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 103721 (101K) [application/x-gzip]
Saving to: ‘/home/pi/utils/myDevices.tar.gz’


/home/pi/utils/myDe 100%[===================>] 101.29K   239KB/s    in 0.4s    


2020-01-10 23:46:46 (239 KB/s) - ‘/home/pi/utils/myDevices.tar.gz’ saved [103721/103721]


./myDevices/
./myDevices/myDevices.service
./myDevices/live_network.ini
./myDevices/crontab.sh
./myDevices/tightvncsetup.sh
./myDevices/Cayenne-Agent/
./myDevices/Cayenne-Agent/setup.py


 . . .


Using /usr/lib/python3/dist-packages
Finished processing dependencies for myDevices==2.0.3
writing list of installed files to '/etc/myDevices/uninstall/installed_agent'
2020. 01. 10. () 23:48:32 KST myDevices installed for Python 3.5.3
(98%)
2020. 01. 10. () 23:48:32 KST Configuring os and agent
RealVNC detected
(100%)
2020. 01. 10. () 23:48:37 KST Install finished
(100%)
2020. 01. 10. () 23:48:42 KST Install cleanup finished
Your system will reboot!

설치가 끝났네요

 

출처 :  https://cayenne.mydevices.com

웹화면에서는 단계별 진행단계가 표시되고

 

출처 :  https://cayenne.mydevices.com

웹화면을 보니 Raspberry Pi 메뉴가 보이네요

 

CPU / RAM / Storage / Temperature / Network Speed 항목이 대시보드에 표시되고

출처 :  https://cayenne.mydevices.com

GPIO 탭으로 가보니 GPIO 핀 배선도가 보입니다

 

톱니바퀴를 눌러보니 설정페이지가 나오네요

 

근데 IP를 보니 내부 IP만 보이는게...

외부에서 붙을 수 있는건지 확인해봐야겠네요

 

참고

반응형

관련글 더보기

댓글 영역