Categories
AI SumoCoders Tech

Symfony CLI and Claude Code

If you use Symfony CLI locally and Claude Code it happens that Claude wants to run php commands. Which often leads to using the wrong PHP version as it should use symfony php instead. The following script instructs Claude to use symfony xxx. It does this for php, composer, bin/console, vendor/bin Now you need to […]

Categories
AI Tech

Symfony Streamable HTTP MCP server

⚠️ Warning: Do not use this in production This experiment connects ChatGPT to a (local) Symfony application. Most online examples use an STDIO-based MCP server through console commands. Which works fine locally. This setup embeds the MCP server in an existing web application and makes it accessible online, without running it as a separate process. […]

Categories
Home automation Tech

Carlo Gavazzi EM24 in Home Assistant via modbus

I have an energy meter which is used by my Alfen Car Charge Station to measure our electrical usage. The Alfen Charge Station uses these measurements to charge the car only when my solar panels are producing. The energy meter is a Carlo Gavazzi EM24. More specific: EM24DINAV53XE1X. The manufacturer describes it as: Three-phase Energy […]

Categories
Home automation Tech

Raspberry Pi 5 Official case

Do not buy the Raspberry Pi Case for Raspberry Pi 5 of you intend to use a HAT. The website mentions: HATs can be mounted to the enclosure with stand-offs and GPIO header extenders Which means you can mount HATs, but they won’t be enclosed in the case. If you are looking for a simple […]

Categories
AI Dutch Tech

Tensorflow, PyCharm & Google Cloud

Ik ben bezig met een opleiding rond AI. In het tweede deel van de opleiding gaat het over Deep Learning. En hiervoor gaan we met Tensorflow 2 werken. Ik heb een MacBook Pro 16″, 2019. Met een i7 2.6 GHz CPU, 16GB RAM en een AMD Radeon Pro 5300M 4GB. Dus helaas geen optimaal toestel. […]

Categories
Dutch Home automation Tech

P1 meter zonder Wi-Fi

Met de digitale meter kan je op een slimme manier je energie verbruik in kaart brengen. Wil je het realtime dan ben je aangewezen op toestellen die je in de P1 poort van je digitale meter kan pluggen. Er zijn al heel wat P1 meters beschikbaar, zoals bijvoorbeeld: Maar bij al deze toestellen is de […]

Categories
Home automation Tech

homeassistant/raspberrypi4-homeassistant

At home my Home Assistant instance runs on a Raspberry PI 4 in Docker. I wondered why my Home Assistant install was not up to date. I was using homeassistant/raspberrypi4-homeassistant as the image. But since 2023.7 these images don’t receive updates, as announced in the breaking changes section of the release notes. (which I did […]

Categories
Dutch Tech

Somfy RTS motor afstellen

Om de een of andere reden veranderen de eindpunten van onze grote screen naar verloop van tijd. Hieronder (vooral voor mezelf) de stappen hoe ik de eindpunten van de Somfy RTS motor opnieuw instel. Ik gebruik hiervoor een Somfy Situo 1 RTS Pure II afstandsbediening. De motor is een Somfy Sunea 40 RTS DC motor. […]

Categories
SumoCoders Tech

Use Volta in docker images

Use volta in custom docker images

Categories
SumoCoders Tech

Scaling Gitlab runner on Google Cloud Platform

At SumoCoders we have a self-hosted GitLab instance. For each project, we have some CI-jobs. Some of them are as simple as checking code styles, others are more complex like building assets. These jobs are handled by gitlab-runners. In the past we used several droplets (servers) on Digital Ocean as gitlab-runners. These instances were running 24/7, and could only […]

Categories
SumoCoders Tech

ActiveCollab tasks in PhpStorm

As there is no support for ActiveCollab in PhpStorm I build this work-around. With this hack you can use the Open Task functionality inside PhpStorm. You can find all instructions on the ActiveCollab Generic Server repository.

Categories
Tech

Rebuild & Reindex messages in Mail.app

For some reason Mail.app will stop finding messages, or just crashes, or … In order to fix this, I execute the following steps: Close Mail.app Open Terminal Enter: cd ~/Library/Mail/V4/MailData/ Enter: rm Envelop\ Inde* Remark: This is just a post for myself, so I don’t spend time looking for the correct files to delete.