Home Assistant Community Add-on: Grocy

As far as I’m aware, this custom component needs the Grocy HASS.IO addon to be preinstalled.

The instructions on the Github page are only for the custom component, it assumes you already have Grocy itself running.

Grocy can be installed in Docker if you don’t have HASS.IO, but I don’t think the custom component can use it then. In any case, try installing this: https://github.com/grocy/grocy-docker and then try getting the custom component to work.

Thanks. That makes sense. I’ll try to get Grocy running separately from my home assistant instance.

:tada: Release v0.3.2

Full Changelog

This is a maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades add-on base image to v4.0.2
  • :arrow_up: Upgrades php to 7.3.7-r0
  • :arrow_up: Upgrades add-on base image to v4.0.3
  • :arrow_up: Upgrades php7 to 7.3.8-r0
  • :arrow_up: Upgrades nginx to 1.16.1-r0
  • :ambulance: Fixes path handling for SSL certificates
  • :arrow_up: Upgrades add-on base image to v4.1.1
  • :hammer: Use Hass.io DNS as NGinx resolver
  • :ambulance: Mimic commit 3dbce7547fb2b0c9b5acbed1926d98b5f61d10b0 (#44) (@tjorim)

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

I am using this https://github.com/custom-components/grocy with grocy installed

grocy is working fine, but if go to dev tools/services and use this, nothing happens, HA looks like it sent it.

grocy.execute_chore

{
“chore_id”:“1”,
“tracked_time” : “2019-09-02 20:20:22+00:00”,
“done_by”:“0”
}

Is there anyway i can use grocy with automations and notifications

Any one else getting this error?

Slim Application Error
The application could not run because of the following error:

Details
Type: ErrorException
Message: Function name must be a string (View: /var/www/grocy/views/calendar.blade.php)
File: /data/grocy/viewcache/06859782c4be787d79b8ba1a1217ca87b5f83500.php
Line: 1
Trace
#0 /var/www/grocy/vendor/illuminate/view/Engines/PhpEngine.php(47): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(Symfony\Component\Debug\Exception\FatalThrowableError), 2)
#1 /var/www/grocy/vendor/illuminate/view/Engines/CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/grocy/...', Array)
#2 /var/www/grocy/vendor/illuminate/view/View.php(142): Illuminate\View\Engines\CompilerEngine->get('/var/www/grocy/...', Array)
#3 /var/www/grocy/vendor/illuminate/view/View.php(125): Illuminate\View\View->getContents()
#4 /var/www/grocy/vendor/illuminate/view/View.php(90): Illuminate\View\View->renderContents()
#5 /var/www/grocy/vendor/rubellum/slim-blade-view/src/Blade.php(173): Illuminate\View\View->render()
#6 /var/www/grocy/vendor/rubellum/slim-blade-view/src/Blade.php(65): Slim\Views\Blade->fetch('calendar', Array)
#7 /var/www/grocy/controllers/CalendarController.php(20): Slim\Views\Blade->render(Object(Slim\Http\Response), 'calendar', Array)
#8 [internal function]: Grocy\Controllers\CalendarController->Overview(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#9 /var/www/grocy/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#10 /var/www/grocy/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#11 /var/www/grocy/middleware/SessionAuthMiddleware.php(57): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#12 [internal function]: Grocy\Middleware\SessionAuthMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#13 /var/www/grocy/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Grocy\Middleware\SessionAuthMiddleware), Array)
#14 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#15 /var/www/grocy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#16 /var/www/grocy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#17 /var/www/grocy/vendor/slim/slim/Slim/Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#18 /var/www/grocy/vendor/slim/slim/Slim/App.php(515): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#19 /var/www/grocy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#20 /var/www/grocy/vendor/slim/slim/Slim/App.php(405): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#21 /var/www/grocy/vendor/slim/slim/Slim/App.php(313): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#22 /var/www/grocy/app.php(80): Slim\App->run()
#23 /var/www/grocy/public/index.php(3): require_once('/var/www/grocy/...')
#24 {main}
Previous exception
Type: Symfony\Component\Debug\Exception\FatalThrowableError
Message: Function name must be a string
File: /data/grocy/viewcache/06859782c4be787d79b8ba1a1217ca87b5f83500.php
Line: 1
Trace
#0 /var/www/grocy/vendor/illuminate/view/Engines/PhpEngine.php(43): include()
#1 /var/www/grocy/vendor/illuminate/view/Engines/CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/grocy/...', Array)
#2 /var/www/grocy/vendor/illuminate/view/View.php(142): Illuminate\View\Engines\CompilerEngine->get('/var/www/grocy/...', Array)
#3 /var/www/grocy/vendor/illuminate/view/View.php(125): Illuminate\View\View->getContents()
#4 /var/www/grocy/vendor/illuminate/view/View.php(90): Illuminate\View\View->renderContents()
#5 /var/www/grocy/vendor/rubellum/slim-blade-view/src/Blade.php(173): Illuminate\View\View->render()
#6 /var/www/grocy/vendor/rubellum/slim-blade-view/src/Blade.php(65): Slim\Views\Blade->fetch('calendar', Array)
#7 /var/www/grocy/controllers/CalendarController.php(20): Slim\Views\Blade->render(Object(Slim\Http\Response), 'calendar', Array)
#8 [internal function]: Grocy\Controllers\CalendarController->Overview(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#9 /var/www/grocy/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#10 /var/www/grocy/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#11 /var/www/grocy/middleware/SessionAuthMiddleware.php(57): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#12 [internal function]: Grocy\Middleware\SessionAuthMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#13 /var/www/grocy/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Grocy\Middleware\SessionAuthMiddleware), Array)
#14 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#15 /var/www/grocy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#16 /var/www/grocy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#17 /var/www/grocy/vendor/slim/slim/Slim/Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#18 /var/www/grocy/vendor/slim/slim/Slim/App.php(515): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#19 /var/www/grocy/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#20 /var/www/grocy/vendor/slim/slim/Slim/App.php(405): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#21 /var/www/grocy/vendor/slim/slim/Slim/App.php(313): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#22 /var/www/grocy/app.php(80): Slim\App->run()
#23 /var/www/grocy/public/index.php(3): require_once('/var/www/grocy/...')
#24 {main}

I like your project… great work!
I’m waiting your next Hassio add-on release to see my translation improvements… hoping soon :smile:
Can I install the new localization files in Hassio manually? I don’t see where they are in my directories, maybe I can’t do it without a new release including they.
Bye!

How can i install this add.on with grocy 2.5.2 as long as i know this add.on still use grocy 2.4.4?

I had to use this. 2.5.2 is available but it’s not a release yet, it’s just available in dev mode.
If you add this to your hass store repositories, it will allow you to use non-release versions, so I was able to get 2.5.2.
Be sure to read the warnings, though - non-release versions may break your HA.
https://github.com/hassio-addons/repository-edge/blob/87ba3051d4e44abb2f6b02d142c670f11a074be7/README.md

1 Like

Hi there!
I see that grocy is using an ical calendar … I already have a google calendar with some of my repetitive tasks in it and would like to use it also with grocy. Someone already found a workaround? Is it perhaps possible to have the google cal option in a future release?
Many thanks

1 Like

thank you for the catch up, it really helps

1 Like

Thx :slightly_smiling_face:
I will wait stable release.

Understandable! For what it’s worth, I’m not having an issues with the dev releases

It’s because I dev some stuff on grocy custom component. And Grocy changed a lot in db blueprint.
(Sorry for my English, not sure about right words)

Hi, any idea how to hide these reminder banners? I have no need for them and they’re quite annoying on mobile screens. Thanks!

Ok, i feel like an idiot, but how to do you create chores. I’ve been looking for a add chores button, but i can’t find one.

1 Like

Go to the Manage Master data section :slight_smile:

OMG, i was expecting the Master data tab to load a page not have a drop down.

Does anyone have an example, if its possible, to make an automation that adds a chore when something is triggerd like if the washingmachine is done for example?

:tada: Release v0.4.0

Full Changelog

This release has been overdue! Sorry about that.

However, it ships with the latest Grocy and adds in a bunch of fixes and new configuration options for you to explore! See the documentation of the add-on for the updated configuration options.

:hammer: Changes

  • Revert “Mimic commit 3dbce7547fb2b0c9b5acbed1926d98b5f61d10b0 (#44)”
  • :arrow_up: Adds php7-gd
  • :sparkles: Adds php7-simplexml (#50)
  • :ambulance: Fixes version pinning in Dockerfile
  • :arrow_up: Upgrades Grocy to v2.5.2 (#52)
  • :arrow_up: Upgrades nginx to 1.16.1-r1
  • :arrow_up: Upgrades php7 to 7.3.11-r0
  • :arrow_up: Upgrades add-on base image to v5.0.3
  • :sparkles: Adds support for setting custom entry page
  • :sparkles: Adds support for a lot of tweak options
  • :books: Updates documentation to match latest changes

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

2 Likes

Is there any easy solution to have a functioning barcode reader? Especially for the first inventory it would save a lot of time.