HASS Addon Shinobi [Revival]

Did you ever find out how to map some different drives for file storage? Iā€™ve got the same situation and my SSD doesnā€™t have too much capacity left.

Iā€™m taking a leap of faith tagging @Bigrob8181 as well, thanks for a great add-on, I love it!!

But it would come really handy if any other storage could be used. There are capabilities to mount secondary drives to Hassos (https://gist.github.com/eklex/c5fac345de5be9d9bc420510617c86b5) so, if I just could figure out how this works in the add-on the rest is solved.

@Abertil Unfortunately i stopped using shinobi because it was not stable enough in my setup.
Every few days some cameras randomly would stop receive any feed, and addon restart was required.
so i gave up shinobi and went with motion eye, saving on a samba shared network location, and while less customizable and less pretty, at least itā€™s much more stable.

1 Like

Hi

i installed it today. but no success. i get this error in the log and i can t log in:

FFmpeg version : 3.4-static http://johnvansickle.com/ffmpeg/
Node.js version : v12.18.4
Shinobi : Web Server Listening on 80
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This Install of Shinobi is NOT Activated
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2020-12-28T22:09:06+01:00 This Install of Shinobi is NOT Activated  
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
https://licenses.shinobi.video/subscribe
2020-12-28T22:09:06+01:00 Shinobi is ready.  
knexError----------------------------------- START
[Error: select * from `Schedules` - SQLITE_ERROR: no such table: Schedules] {
  errno: 1,
  code: 'SQLITE_ERROR'
}
select * from `Schedules`
knexError----------------------------------- END
Uncaught Exception occured!
TypeError: Cannot read property 'forEach' of undefined
    at /opt/shinobi/libs/scheduler.js:11:18
    at /opt/shinobi/libs/sql.js:186:33
    at cb (util.js:207:31)
    at util.js:191:10
    at hidden (internal/errors.js:291:14)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

what can i do to fix it?

Did you install and configure MariaDB properly as well? Looking at the error, that is my guess.

Hi, this is my Maria-DB Config

databases:
  - homeassistant
  - shinobi
logins:
  - username: homeassistant
    password: homeassistant
  - username: shinobi
    password: sh1n0b1
rights:
  - username: homeassistant
    database: homeassistant
  - username: shinobi
    database: shinobi

i think it is correct?

Looks about the same as I have, Iā€™ve also got a few lines for grants, but Iā€™m not sure those are needed.

How does your Shinobi config look like?

i m using this config

log_level: info
super_username: [email protected]
super_password: admin
mysql: false
mysql_host: core-mariadb
mysql_username: shinobi
mysql_password: sh1n0b1
mysql_database: shinobi
mysql_port: 3306
mail_service: gmail
mail_username: [email protected]
mail_password: maypassword
mail_host: smtp.gmail.com
mail_port: 587
mail_secure: false
mail_cert_verify: true
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
ffbinaries: false

Try to change myql: to true, I think that will solve it.

Hi

no the Log looks better. But i can t log in. if i try to login with this:

super_username: [email protected]
super_password: admin

nothing happens

this is the log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-requirements.sh: executing... 
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 20-init-configuration.sh: executing... 
[cont-init.d] 20-init-configuration.sh: exited 0.
[cont-init.d] 21-symlink-configuration.sh: executing... 
[cont-init.d] 21-symlink-configuration.sh: exited 0.
[cont-init.d] 30-superuser.sh: executing... 
[cont-init.d] 30-superuser.sh: exited 0.
[cont-init.d] 31-mail.sh: executing... 
[cont-init.d] 31-mail.sh: exited 0.
[cont-init.d] 32-db.sh: executing... 
[cont-init.d] 32-db.sh: exited 0.
[cont-init.d] 33-ssl.sh: executing... 
[cont-init.d] 33-ssl.sh: exited 0.
[cont-init.d] 40-mysql.sh: executing... 
[cont-init.d] 40-mysql.sh: exited 0.
[cont-init.d] 50-ffbinaries.sh: executing... 
[20:08:32] INFO: Installing ffbinaries...
[cont-init.d] 50-ffbinaries.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Change your cron key in your conf.json.                     !!
!! If you're running Shinobi remotely you should do this now.  !!
!! You can do this in the Super User panel or from terminal.   !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ffbinaries : Downloading FFmpeg. Please Wait...
ffbinaries : FFmpeg Downloaded.
Available Hardware Acceleration Methods :  
FFmpeg version : 3.4-static http://johnvansickle.com/ffmpeg/
Node.js version : v12.18.4
Shinobi : Web Server Listening on 80
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This Install of Shinobi is NOT Activated
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2020-12-30T21:09:54+01:00 This Install of Shinobi is NOT Activated  
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
https://licenses.shinobi.video/subscribe
2020-12-30T21:09:54+01:00 Shinobi is ready. 

Ok, what are you trying to login to?

You have a few choices and the only choice that will work with the credentials that you are using is the super login. I.e at the url http://ip:port/super

ok. found it.

http://192.168.1.180:7440/super

i want to summarize my installation experience that other user can install it faster than i

first install Maria-DB with the following configuration

databases:
  - homeassistant
  - shinobi
logins:
  - username: homeassistant
    password: homeassistant
  - username: shinobi
    password: sh1n0b1
rights:
  - username: homeassistant
    database: homeassistant
  - username: shinobi
    database: shinobi

then install shinobi and enter the following config:

log_level: trace
super_username: [email protected]
super_password: admin
mysql: true
mysql_host: core-mariadb
mysql_username: shinobi
mysql_password: sh1n0b1
mysql_database: shinobi
mysql_port: 3306
mail_service: gmail
mail_username: [email protected]
mail_password: my-gmail-password
mail_host: smtp.gmail.com
mail_port: 587
mail_secure: false
mail_cert_verify: true
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
ffbinaries: true

then go to the login screen using this link.

http://ip-of-your-hassio-pi:7440/super

creat an account and log out

then use this link to log in with your new created user:

http://ip-of-your-hassio-pi:8123/shinobi

Hi
i m running HASS.IO with the Shinobi Plug-in.
I would like to setup an motion detection trigger to send an mqtt message if motion is detected.
is this possible with this addon? has anybody did this before?

1up, I would also like to get the Shinobi motion detection as a sensor, how to do that ?

When I try and add the repo to HACS, I get the following error:
ā€œRepostitory structure for v0.4.0b4 is not compliantā€

Not even joking about the typo. Haha
image

Any ideas?

I have the same issue. Can this be fixed?

Literally no activity on this project for 2 years. I donā€™t think itā€™ll be fixed.

Try Frigate
Motion detection and many more features :+1:t3:

However, when I try to access the web interface on http://192.168.3.33:7440/super , and login with the default credentials:

It doesnā€™t work and tells me ā€œPlease check your login credentialsā€.

(I should also mention that the login prompt seems to render any text you type in all-caps - I assume thatā€™s by design?).

i can not login http://ip-of-your-hassio-pi:7440/super even use

super_username: [email protected]
super_password: admin